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/local",
1305 "title": "Creates a new User token",
1308 "title": "Example usage:",
1309 "content": "curl https://{domain}/api/auth/local -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/authLocal/index.js",
1338 "groupTitle": "Authentication"
1342 "url": "/api/auth/google",
1343 "title": "Creates a new User token",
1346 "title": "Example usage:",
1347 "content": "curl https://{domain}/api/auth/google -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/authGoogle/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}/close",
2439 "title": "Close Interaction",
2442 "title": "Example usage:",
2443 "content": "curl https://{domain}/api/chat/interactions/{id}/close -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2447 "name": "addMessage",
2448 "group": "Chat_Interactions",
2449 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2451 "filename": "server/api/chatInteraction/index.js",
2452 "groupTitle": "Chat_Interactions"
2456 "url": "/api/chat/interactions/{id}/messages",
2457 "title": "Creates new messages",
2460 "title": "Example usage:",
2461 "content": "curl https://{domain}/api/chat/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2465 "name": "addMessage",
2466 "group": "Chat_Interactions",
2499 "field": "direction",
2513 "field": "providerName",
2520 "field": "providerResponse",
2526 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</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_contact_has_phones",
5657 "title": "Creates a new CmContactHasPhone",
5660 "title": "Example usage:",
5661 "content": "curl https://{domain}/api/cm_contact_has_phones -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5665 "name": "CreateCmContactHasPhones",
5666 "group": "CmContactHasPhones",
5674 "field": "CmContactId",
5687 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5689 "filename": "server/api/cmContactHasPhone/index.js",
5690 "groupTitle": "CmContactHasPhones"
5694 "url": "/api/cm_contact_has_phones/{id}",
5695 "title": "Deletes a CmContactHasPhone",
5698 "title": "Example usage:",
5699 "content": "curl https://{domain}/api/cm_contact_has_phones/{id} -v -u {name}:{password} -X DELETE",
5703 "name": "DeleteCmContactHasPhones",
5704 "group": "CmContactHasPhones",
5705 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5707 "filename": "server/api/cmContactHasPhone/index.js",
5708 "groupTitle": "CmContactHasPhones"
5712 "url": "/api/cm_contact_has_phones",
5713 "title": "Gets a list of CmContactHasPhones",
5716 "title": "Example usage:",
5717 "content": "curl https://{domain}/api/cm_contact_has_phones -v -u {name}:{password}",
5721 "name": "GetCmContactHasPhones",
5722 "group": "CmContactHasPhones",
5723 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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_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_contact_has_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_contact_has_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_contact_has_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_contact_has_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>",
5725 "filename": "server/api/cmContactHasPhone/index.js",
5726 "groupTitle": "CmContactHasPhones"
5730 "url": "/api/cm_contact_has_phones/{id}",
5731 "title": "Gets a single CmContactHasPhone",
5734 "title": "Example usage:",
5735 "content": "curl https://{domain}/api/cm_contact_has_phones/{id} -v -u {name}:{password}",
5739 "name": "ShowCmContactHasPhones",
5740 "group": "CmContactHasPhones",
5741 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5743 "filename": "server/api/cmContactHasPhone/index.js",
5744 "groupTitle": "CmContactHasPhones"
5748 "url": "/api/cm_contact_has_phones/{id}",
5749 "title": "Update an existing CmContactHasPhone",
5752 "title": "Example usage:",
5753 "content": "curl https://{domain}/api/cm_contact_has_phones/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
5757 "name": "updateCmContactHasPhones",
5758 "group": "CmContactHasPhones",
5759 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5761 "filename": "server/api/cmContactHasPhone/index.js",
5762 "groupTitle": "CmContactHasPhones"
5766 "url": "/api/cm_hopper_additional_phones",
5767 "title": "Creates a new CmHopperAdditionalPhone",
5770 "title": "Example usage:",
5771 "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",
5775 "name": "CreateCmHopperAdditionalPhones",
5776 "group": "CmHopperAdditionalPhones",
5784 "field": "CmHopperId",
5805 "field": "scheduledat",
5812 "field": "countbusyretry",
5819 "field": "countcongestionretry",
5826 "field": "countnoanswerretry",
5833 "field": "countnosuchnumberretry",
5840 "field": "countdropretry",
5847 "field": "countabandonedretry",
5854 "field": "countmachineretry",
5861 "field": "countagentrejectretry",
5867 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5869 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5870 "groupTitle": "CmHopperAdditionalPhones"
5874 "url": "/api/cm_hopper_additional_phones/{id}",
5875 "title": "Deletes a CmHopperAdditionalPhone",
5878 "title": "Example usage:",
5879 "content": "curl https://{domain}/api/cm_hopper_additional_phones/{id} -v -u {name}:{password} -X DELETE",
5883 "name": "DeleteCmHopperAdditionalPhones",
5884 "group": "CmHopperAdditionalPhones",
5885 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5887 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5888 "groupTitle": "CmHopperAdditionalPhones"
5892 "url": "/api/cm_hopper_additional_phones",
5893 "title": "Gets a list of CmHopperAdditionalPhones",
5896 "title": "Example usage:",
5897 "content": "curl https://{domain}/api/cm_hopper_additional_phones -v -u {name}:{password}",
5901 "name": "GetCmHopperAdditionalPhones",
5902 "group": "CmHopperAdditionalPhones",
5903 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
5905 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5906 "groupTitle": "CmHopperAdditionalPhones"
5910 "url": "/api/cm_hopper_additional_phones/{id}",
5911 "title": "Gets a single CmHopperAdditionalPhone",
5914 "title": "Example usage:",
5915 "content": "curl https://{domain}/api/cm_hopper_additional_phones/{id} -v -u {name}:{password}",
5919 "name": "ShowCmHopperAdditionalPhones",
5920 "group": "CmHopperAdditionalPhones",
5921 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5923 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5924 "groupTitle": "CmHopperAdditionalPhones"
5928 "url": "/api/cm_hopper_additional_phones/{id}",
5929 "title": "Update an existing CmHopperAdditionalPhone",
5932 "title": "Example usage:",
5933 "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",
5937 "name": "updateCmHopperAdditionalPhones",
5938 "group": "CmHopperAdditionalPhones",
5939 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5941 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5942 "groupTitle": "CmHopperAdditionalPhones"
5946 "url": "/api/cm/companies",
5947 "title": "Creates a new Company",
5950 "title": "Example usage:",
5951 "content": "curl https://{domain}/api/cm/companies -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5955 "name": "CreateCompanies",
5956 "group": "Cm_Companies",
5978 "field": "companyId",
6020 "field": "postalCode",
6048 "field": "emailDomain",
6062 "field": "sPostalCode",
6076 "field": "sCountry",
6083 "field": "description",
6089 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6091 "filename": "server/api/cmCompany/index.js",
6092 "groupTitle": "Cm_Companies"
6096 "url": "/api/cm/companies/{id}",
6097 "title": "Deletes a Company",
6100 "title": "Example usage:",
6101 "content": "curl https://{domain}/api/cm/companies/{id} -v -u {name}:{password} -X DELETE",
6105 "name": "DeleteCompanies",
6106 "group": "Cm_Companies",
6107 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6109 "filename": "server/api/cmCompany/index.js",
6110 "groupTitle": "Cm_Companies"
6114 "url": "/api/cm/companies/describe",
6115 "title": "Gets table info about Companies",
6118 "title": "Example usage:",
6119 "content": "curl https://{domain}/api/cm/companies/describe -v -u {name}:{password}",
6123 "name": "DescribeCompanies",
6124 "group": "Cm_Companies",
6125 "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>",
6127 "filename": "server/api/cmCompany/index.js",
6128 "groupTitle": "Cm_Companies"
6132 "url": "/api/cm/companies",
6133 "title": "Gets a list of Companies",
6136 "title": "Example usage:",
6137 "content": "curl https://{domain}/api/cm/companies -v -u {name}:{password}",
6141 "name": "GetCompanies",
6142 "group": "Cm_Companies",
6143 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
6145 "filename": "server/api/cmCompany/index.js",
6146 "groupTitle": "Cm_Companies"
6150 "url": "/api/cm/companies/{id}",
6151 "title": "Gets a single Company",
6154 "title": "Example usage:",
6155 "content": "curl https://{domain}/api/cm/companies/{id} -v -u {name}:{password}",
6159 "name": "ShowCompanies",
6160 "group": "Cm_Companies",
6161 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6163 "filename": "server/api/cmCompany/index.js",
6164 "groupTitle": "Cm_Companies"
6168 "url": "/api/cm/companies/{id}/contacts",
6169 "title": "Creates new contacts",
6172 "title": "Example usage:",
6173 "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",
6177 "name": "addContacts",
6178 "group": "Cm_Companies",
6186 "field": "firstName",
6193 "field": "lastName",
6207 "field": "postalCode",
6228 "field": "dateOfBirth",
6235 "field": "description",
6277 "field": "facebook",
6333 "field": "telegram",
6347 "field": "priority",
6354 "field": "scheduledat",
6360 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6362 "filename": "server/api/cmCompany/index.js",
6363 "groupTitle": "Cm_Companies"
6367 "url": "/api/cm/companies/{id}/contacts",
6368 "title": "Gets List Contacts",
6371 "title": "Example usage:",
6372 "content": "curl https://{domain}/api/fax/companies/{id}/contacts -v -u {name}:{password} -X GET",
6376 "name": "getContacts",
6377 "group": "Cm_Companies",
6378 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6380 "filename": "server/api/cmCompany/index.js",
6381 "groupTitle": "Cm_Companies"
6385 "url": "/api/cm/companies/{id}",
6386 "title": "Update an existing Company",
6389 "title": "Example usage:",
6390 "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",
6394 "name": "updateCompanies",
6395 "group": "Cm_Companies",
6396 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6398 "filename": "server/api/cmCompany/index.js",
6399 "groupTitle": "Cm_Companies"
6403 "url": "/api/cm/contacts/{id}",
6404 "title": "Deletes a Contact",
6407 "title": "Example usage:",
6408 "content": "curl https://{domain}/api/cm/contacts/{id} -v -u {name}:{password} -X DELETE",
6412 "name": "DeleteContacts",
6413 "group": "Cm_Contacts",
6414 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6416 "filename": "server/api/cmContact/index.js",
6417 "groupTitle": "Cm_Contacts"
6421 "url": "/api/cm/contacts/describe",
6422 "title": "Gets table info about Contacts",
6425 "title": "Example usage:",
6426 "content": "curl https://{domain}/api/cm/contacts/describe -v -u {name}:{password}",
6430 "name": "DescribeContacts",
6431 "group": "Cm_Contacts",
6432 "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>",
6434 "filename": "server/api/cmContact/index.js",
6435 "groupTitle": "Cm_Contacts"
6439 "url": "/api/cm/contacts",
6440 "title": "Gets a list of Contacts",
6443 "title": "Example usage:",
6444 "content": "curl https://{domain}/api/cm/contacts -v -u {name}:{password}",
6448 "name": "GetContacts",
6449 "group": "Cm_Contacts",
6450 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
6452 "filename": "server/api/cmContact/index.js",
6453 "groupTitle": "Cm_Contacts"
6457 "url": "/api/cm/contacts/{id}/finals",
6458 "title": "Gets contact hopper finals",
6461 "title": "Example usage:",
6462 "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_finals -v -u {name}:{password} -X GET",
6466 "name": "GetHopperFinals",
6467 "group": "Cm_Contacts",
6468 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6470 "filename": "server/api/cmContact/index.js",
6471 "groupTitle": "Cm_Contacts"
6475 "url": "/api/cm/contacts/{id}/hopper_histories",
6476 "title": "Gets contact hopper histories",
6479 "title": "Example usage:",
6480 "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_histories -v -u {name}:{password} -X GET",
6484 "name": "GetHopperHistories",
6485 "group": "Cm_Contacts",
6486 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6488 "filename": "server/api/cmContact/index.js",
6489 "groupTitle": "Cm_Contacts"
6493 "url": "/api/cm/contacts/{id}/hoppers",
6494 "title": "Gets contact hoppers",
6497 "title": "Example usage:",
6498 "content": "curl https://{domain}/api/cm/contacts/{id}/hoppers -v -u {name}:{password} -X GET",
6502 "name": "GetHoppers",
6503 "group": "Cm_Contacts",
6504 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6506 "filename": "server/api/cmContact/index.js",
6507 "groupTitle": "Cm_Contacts"
6511 "url": "/api/cm/contacts/create_many",
6512 "title": "Create Contacts",
6515 "title": "Example usage:",
6516 "content": "curl https://{domain}/api/cm/contacts/create_many -d '[{\"firstName\": \"John\", \"lastName\": \"doe\", \"...\": \"...\"}]' -v -u {name}:{password} -X POST",
6520 "name": "bulkCreate",
6521 "group": "Cm_Contacts",
6522 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6524 "filename": "server/api/cmContact/index.js",
6525 "groupTitle": "Cm_Contacts"
6529 "url": "/api/cm/contacts",
6530 "title": "Create Contact",
6533 "title": "Example usage:",
6534 "content": "curl https://{domain}/api/cm/contacts -d '{\"firstName\": \"John\", \"lastName\": \"doe\", \"...\": \"...\"}' -v -u {name}:{password} -X POST",
6539 "group": "Cm_Contacts",
6540 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6542 "filename": "server/api/cmContact/index.js",
6543 "groupTitle": "Cm_Contacts"
6547 "url": "/api/cm/contacts/{id}/journey",
6548 "title": "Gets customer journey",
6551 "title": "Example usage:",
6552 "content": "curl https://{domain}/api/cm/contacts/{id}/journey -v -u {name}:{password} -X GET",
6556 "name": "getJourney",
6557 "group": "Cm_Contacts",
6558 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6560 "filename": "server/api/cmContact/index.js",
6561 "groupTitle": "Cm_Contacts"
6565 "url": "/api/cm/contacts/{id}/jscripty_sessions",
6566 "title": "Gets contact hopper blacks",
6569 "title": "Example usage:",
6570 "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_black -v -u {name}:{password} -X GET",
6574 "name": "getJscriptySessions",
6575 "group": "Cm_Contacts",
6576 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6578 "filename": "server/api/cmContact/index.js",
6579 "groupTitle": "Cm_Contacts"
6583 "url": "/api/cm/contacts/{id}/tags",
6584 "title": "Gets configurations tags",
6587 "title": "Example usage:",
6588 "content": "curl https://{domain}/api/cm/contacts/{id}/tags -v -u {name}:{password} -X GET",
6593 "group": "Cm_Contacts",
6594 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6596 "filename": "server/api/cmContact/index.js",
6597 "groupTitle": "Cm_Contacts"
6601 "url": "/api/cm/contacts/merge",
6602 "title": "Merge Contact",
6605 "title": "Example usage:",
6606 "content": "curl https://{domain}/api/cm/contacts/merge -d '{\"from\": 1, \"to\": 2}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6611 "group": "Cm_Contacts",
6612 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6614 "filename": "server/api/cmContact/index.js",
6615 "groupTitle": "Cm_Contacts"
6619 "url": "/api/cm/contacts/{id}/tags",
6620 "title": "Sets new tags",
6623 "title": "Example usage:",
6624 "content": "curl https://{domain}/api/cm/contacts/{id}/tags -d '{\"ids\": [1,12]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6629 "group": "Cm_Contacts",
6630 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6632 "filename": "server/api/cmContact/index.js",
6633 "groupTitle": "Cm_Contacts"
6637 "url": "/api/cm/contacts/{id}",
6638 "title": "Gets a single Contact",
6641 "title": "Example usage:",
6642 "content": "curl https://{domain}/api/cm/contacts/{id} -v -u {name}:{password} -X GET",
6647 "group": "Cm_Contacts",
6648 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6650 "filename": "server/api/cmContact/index.js",
6651 "groupTitle": "Cm_Contacts"
6655 "url": "/api/cm/contacts/{id}",
6656 "title": "Update a single Contact",
6659 "title": "Example usage:",
6660 "content": "curl https://{domain}/api/cm/contacts/{id} -d '{\"firstName\": \"John\", \"lastName\": \"Doe\"}' -v -u {name}:{password} -X PUT",
6665 "group": "Cm_Contacts",
6666 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6668 "filename": "server/api/cmContact/index.js",
6669 "groupTitle": "Cm_Contacts"
6673 "url": "/api/cm/custom_fields/{id}",
6674 "title": "Deletes a Custom Field",
6677 "title": "Example usage:",
6678 "content": "curl https://{domain}/api/cm/custom_fields/{id} -v -u {name}:{password} -X DELETE",
6682 "name": "DeleteCustom_Fields",
6683 "group": "Cm_Custom_Fields",
6684 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6686 "filename": "server/api/cmCustomField/index.js",
6687 "groupTitle": "Cm_Custom_Fields"
6691 "url": "/api/cm/custom_fields",
6692 "title": "Gets a list of Custom Fields",
6695 "title": "Example usage:",
6696 "content": "curl https://{domain}/api/cm/custom_fields -v -u {name}:{password}",
6700 "name": "GetCustom_Fields",
6701 "group": "Cm_Custom_Fields",
6702 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
6704 "filename": "server/api/cmCustomField/index.js",
6705 "groupTitle": "Cm_Custom_Fields"
6709 "url": "/api/cm/custom_fields/{id}",
6710 "title": "Gets a single Custom Field",
6713 "title": "Example usage:",
6714 "content": "curl https://{domain}/api/cm/custom_fields/{id} -v -u {name}:{password}",
6718 "name": "ShowCustom_Fields",
6719 "group": "Cm_Custom_Fields",
6720 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6722 "filename": "server/api/cmCustomField/index.js",
6723 "groupTitle": "Cm_Custom_Fields"
6727 "url": "/api/cm/custom_fields/{id}",
6728 "title": "Update an existing Custom Field",
6731 "title": "Example usage:",
6732 "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",
6736 "name": "updateCustom_Fields",
6737 "group": "Cm_Custom_Fields",
6738 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6740 "filename": "server/api/cmCustomField/index.js",
6741 "groupTitle": "Cm_Custom_Fields"
6745 "url": "/api/cm/hopper",
6746 "title": "Creates a new Hopper",
6749 "title": "Example usage:",
6750 "content": "curl https://{domain}/api/cm/hopper -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
6754 "name": "CreateHopper",
6755 "group": "Cm_Hopper",
6777 "field": "scheduledat",
6784 "field": "countbusyretry",
6791 "field": "countcongestionretry",
6798 "field": "countnoanswerretry",
6805 "field": "callback",
6812 "field": "callbackuniqueid",
6819 "field": "callbackat",
6826 "field": "priority",
6833 "field": "recallme",
6840 "field": "ContactId",
6861 "field": "VoiceQueueId",
6868 "field": "CampaignId",
6875 "field": "countnosuchnumberretry",
6882 "field": "countdropretry",
6889 "field": "countabandonedretry",
6896 "field": "countmachineretry",
6903 "field": "countagentrejectretry",
6909 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6911 "filename": "server/api/cmHopper/index.js",
6912 "groupTitle": "Cm_Hopper"
6916 "url": "/api/cm/hopper/describe",
6917 "title": "Gets table info about Hopper",
6920 "title": "Example usage:",
6921 "content": "curl https://{domain}/api/cm/hopper/describe -v -u {name}:{password}",
6925 "name": "DescribeHopper",
6926 "group": "Cm_Hopper",
6927 "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>",
6929 "filename": "server/api/cmHopper/index.js",
6930 "groupTitle": "Cm_Hopper"
6934 "url": "/api/cm/hopper",
6935 "title": "Gets a list of Hopper",
6938 "title": "Example usage:",
6939 "content": "curl https://{domain}/api/cm/hopper -v -u {name}:{password}",
6943 "name": "GetHopper",
6944 "group": "Cm_Hopper",
6945 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
6947 "filename": "server/api/cmHopper/index.js",
6948 "groupTitle": "Cm_Hopper"
6952 "url": "/api/cm/hopper/{id}",
6953 "title": "Gets a single Hopper",
6956 "title": "Example usage:",
6957 "content": "curl https://{domain}/api/cm/hopper/{id} -v -u {name}:{password}",
6961 "name": "ShowHopper",
6962 "group": "Cm_Hopper",
6963 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6965 "filename": "server/api/cmHopper/index.js",
6966 "groupTitle": "Cm_Hopper"
6970 "url": "/api/cm/hopper_black/{id}",
6971 "title": "Deletes a Hopper Black",
6974 "title": "Example usage:",
6975 "content": "curl https://{domain}/api/cm/hopper_black/{id} -v -u {name}:{password} -X DELETE",
6979 "name": "DeleteHopper_Black",
6980 "group": "Cm_Hopper_Black",
6981 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6983 "filename": "server/api/cmHopperBlack/index.js",
6984 "groupTitle": "Cm_Hopper_Black"
6988 "url": "/api/cm/hopper_black/describe",
6989 "title": "Gets table info about Hopper Black",
6992 "title": "Example usage:",
6993 "content": "curl https://{domain}/api/cm/hopper_black/describe -v -u {name}:{password}",
6997 "name": "DescribeHopper_Black",
6998 "group": "Cm_Hopper_Black",
6999 "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>",
7001 "filename": "server/api/cmHopperBlack/index.js",
7002 "groupTitle": "Cm_Hopper_Black"
7006 "url": "/api/cm/hopper_black",
7007 "title": "Gets a list of Hopper Black",
7010 "title": "Example usage:",
7011 "content": "curl https://{domain}/api/cm/hopper_black -v -u {name}:{password}",
7015 "name": "GetHopper_Black",
7016 "group": "Cm_Hopper_Black",
7017 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
7019 "filename": "server/api/cmHopperBlack/index.js",
7020 "groupTitle": "Cm_Hopper_Black"
7024 "url": "/api/cm/hopper_black/{id}",
7025 "title": "Gets a single Hopper Black",
7028 "title": "Example usage:",
7029 "content": "curl https://{domain}/api/cm/hopper_black/{id} -v -u {name}:{password}",
7033 "name": "ShowHopper_Black",
7034 "group": "Cm_Hopper_Black",
7035 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7037 "filename": "server/api/cmHopperBlack/index.js",
7038 "groupTitle": "Cm_Hopper_Black"
7042 "url": "/api/cm/hopper_black/{id}",
7043 "title": "Update an existing Hopper Black",
7046 "title": "Example usage:",
7047 "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",
7051 "name": "updateHopper_Black",
7052 "group": "Cm_Hopper_Black",
7053 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7055 "filename": "server/api/cmHopperBlack/index.js",
7056 "groupTitle": "Cm_Hopper_Black"
7060 "url": "/api/cm/hopper_final/checkContactHopper",
7061 "title": "Check if contact is in hopper",
7064 "title": "Example usage:",
7065 "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",
7069 "name": "/checkContactHopper",
7070 "group": "Cm_Hopper_Final",
7071 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7073 "filename": "server/api/cmHopperFinal/index.js",
7074 "groupTitle": "Cm_Hopper_Final"
7078 "url": "/api/cm/hopper_final/describe",
7079 "title": "Gets table info about HopperFinal",
7082 "title": "Example usage:",
7083 "content": "curl https://{domain}/api/cm/hopper_final/describe -v -u {name}:{password}",
7087 "name": "DescribeHopperFinal",
7088 "group": "Cm_Hopper_Final",
7089 "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>",
7091 "filename": "server/api/cmHopperFinal/index.js",
7092 "groupTitle": "Cm_Hopper_Final"
7096 "url": "/api/cm/hopper_final",
7097 "title": "Gets a list of HopperFinal",
7100 "title": "Example usage:",
7101 "content": "curl https://{domain}/api/cm/hopper_final -v -u {name}:{password}",
7105 "name": "GetHopperFinal",
7106 "group": "Cm_Hopper_Final",
7107 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
7109 "filename": "server/api/cmHopperFinal/index.js",
7110 "groupTitle": "Cm_Hopper_Final"
7114 "url": "/api/cm/hopper_final/{id}",
7115 "title": "Gets a single HopperFinal",
7118 "title": "Example usage:",
7119 "content": "curl https://{domain}/api/cm/hopper_final/{id} -v -u {name}:{password}",
7123 "name": "ShowHopperFinal",
7124 "group": "Cm_Hopper_Final",
7125 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7127 "filename": "server/api/cmHopperFinal/index.js",
7128 "groupTitle": "Cm_Hopper_Final"
7132 "url": "/api/cm/hopper_final/campaign/countAttributes/{id}",
7133 "title": "Return number contacts for attributes",
7136 "title": "Example usage:",
7137 "content": "curl https://{domain}/api/hopper_final/campaign/countAttributes/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X GET",
7141 "name": "countContactsIvrCampaignHopperFinal",
7142 "group": "Cm_Hopper_Final",
7143 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7145 "filename": "server/api/cmHopperFinal/index.js",
7146 "groupTitle": "Cm_Hopper_Final"
7150 "url": "/api/cm/hopper_final/voice/queue/countAttributes/{id}",
7151 "title": "Return number contacts for attributes",
7154 "title": "Example usage:",
7155 "content": "curl https://{domain}/api/hopper_final/voice/queue/countAttributes/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X GET",
7159 "name": "countContactsQueueCampaignHopperFinal",
7160 "group": "Cm_Hopper_Final",
7161 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7163 "filename": "server/api/cmHopperFinal/index.js",
7164 "groupTitle": "Cm_Hopper_Final"
7168 "url": "/api/cm/hopper_final/campaign/{id}",
7169 "title": "Move contacts in hopper",
7172 "title": "Example usage:",
7173 "content": "curl https://{domain}/api/hopper_final/campaign/moveContacts/{id} -d '{\"state\": \"state\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
7177 "name": "moveContactsIvrCampaignHopperFinal",
7178 "group": "Cm_Hopper_Final",
7179 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7181 "filename": "server/api/cmHopperFinal/index.js",
7182 "groupTitle": "Cm_Hopper_Final"
7186 "url": "/api/cm/hopper_final/voice/queue/{id}",
7187 "title": "Move contacts in hopper",
7190 "title": "Example usage:",
7191 "content": "curl https://{domain}/api/hopper_final/voice/queue/moveContacts/{id} -d '{\"state\": \"state\"}' -H 'Content-Type: application/json' -v -u {name}:{password}",
7195 "name": "moveContactsQueueCampaignHopperFinal",
7196 "group": "Cm_Hopper_Final",
7197 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7199 "filename": "server/api/cmHopperFinal/index.js",
7200 "groupTitle": "Cm_Hopper_Final"
7204 "url": "/api/cm/hopper_final/{id}",
7205 "title": "Update a single hopper final",
7208 "title": "Example usage:",
7209 "content": "curl https://{domain}/api/hopper_final/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X PUT",
7214 "group": "Cm_Hopper_Final",
7215 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7217 "filename": "server/api/cmHopperFinal/index.js",
7218 "groupTitle": "Cm_Hopper_Final"
7222 "url": "/api/cm/hopper_history",
7223 "title": "Creates a new HopperHistory",
7226 "title": "Example usage:",
7227 "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",
7231 "name": "CreateHopperHistory",
7232 "group": "Cm_Hopper_History",
7247 "field": "statedesc",
7254 "field": "scheduledat",
7261 "field": "countbusyretry",
7268 "field": "countcongestionretry",
7275 "field": "countnoanswerretry",
7282 "field": "countglobal",
7289 "field": "uniqueid",
7296 "field": "originatecalleridnum",
7303 "field": "originatecalleridname",
7310 "field": "calleridnum",
7317 "field": "calleridname",
7324 "field": "starttime",
7331 "field": "responsetime",
7338 "field": "answertime",
7345 "field": "droptime",
7359 "field": "ringtime",
7366 "field": "holdtime",
7373 "field": "talktime",
7380 "field": "followuptime",
7387 "field": "dropreason",
7394 "field": "campaign",
7401 "field": "campaigntype",
7408 "field": "membername",
7436 "field": "callback",
7443 "field": "callbackuniqueid",
7450 "field": "callbackat",
7457 "field": "recallme",
7464 "field": "editedat",
7478 "field": "countnosuchnumberretry",
7485 "field": "countdropretry",
7492 "field": "countabandonedretry",
7499 "field": "countmachineretry",
7506 "field": "countagentrejectretry",
7512 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7514 "filename": "server/api/cmHopperHistory/index.js",
7515 "groupTitle": "Cm_Hopper_History"
7519 "url": "/api/cm/hopper_history/describe",
7520 "title": "Gets table info about HopperHistory",
7523 "title": "Example usage:",
7524 "content": "curl https://{domain}/api/cm/hopper_history/describe -v -u {name}:{password}",
7528 "name": "DescribeHopperHistory",
7529 "group": "Cm_Hopper_History",
7530 "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>",
7532 "filename": "server/api/cmHopperHistory/index.js",
7533 "groupTitle": "Cm_Hopper_History"
7537 "url": "/api/cm/hopper_history",
7538 "title": "Gets a list of HopperHistory",
7541 "title": "Example usage:",
7542 "content": "curl https://{domain}/api/cm/hopper_history -v -u {name}:{password}",
7546 "name": "GetHopperHistory",
7547 "group": "Cm_Hopper_History",
7548 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
7550 "filename": "server/api/cmHopperHistory/index.js",
7551 "groupTitle": "Cm_Hopper_History"
7555 "url": "/api/cm/hopper_history/{id}",
7556 "title": "Gets a single HopperHistory",
7559 "title": "Example usage:",
7560 "content": "curl https://{domain}/api/cm/hopper_history/{id} -v -u {name}:{password}",
7564 "name": "ShowHopperHistory",
7565 "group": "Cm_Hopper_History",
7566 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7568 "filename": "server/api/cmHopperHistory/index.js",
7569 "groupTitle": "Cm_Hopper_History"
7573 "url": "/api/cm/hopper_history/{id}",
7574 "title": "Update a single hopper history",
7577 "title": "Example usage:",
7578 "content": "curl https://{domain}/api/hopper_history/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X PUT",
7583 "group": "Cm_Hopper_History",
7584 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7586 "filename": "server/api/cmHopperHistory/index.js",
7587 "groupTitle": "Cm_Hopper_History"
7591 "url": "/api/cm/hopper/{id}",
7592 "title": "Delete Hopper",
7595 "title": "Example usage:",
7596 "content": "curl https://{domain}/api/cm/hopper/{id} -v -u {name}:{password} -X DELETE",
7601 "group": "Cm_Hopper",
7602 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7604 "filename": "server/api/cmHopper/index.js",
7605 "groupTitle": "Cm_Hopper"
7609 "url": "/api/cm/hopper/opencontacts",
7610 "title": "Gets Open Contacts",
7613 "title": "Example usage:",
7614 "content": "curl https://{domain}/api/cm/hopper/opencontacts -v -u {name}:{password} -X GET",
7618 "name": "getOpenContacts",
7619 "group": "Cm_Hopper",
7620 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7622 "filename": "server/api/cmHopper/index.js",
7623 "groupTitle": "Cm_Hopper"
7627 "url": "/api/cm/hopper/preview",
7628 "title": "Gets Preview Dialer Contacts",
7631 "title": "Example usage:",
7632 "content": "curl https://{domain}/api/cm/hopper/preview -d '{\"hopperIds\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X GET",
7636 "name": "getPreview",
7637 "group": "Cm_Hopper",
7638 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7640 "filename": "server/api/cmHopper/index.js",
7641 "groupTitle": "Cm_Hopper"
7645 "url": "/api/cm/hopper/{id}",
7646 "title": "Update an existing Hopper",
7649 "title": "Example usage:",
7650 "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",
7654 "name": "updateHopper",
7655 "group": "Cm_Hopper",
7656 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7658 "filename": "server/api/cmHopper/index.js",
7659 "groupTitle": "Cm_Hopper"
7663 "url": "/api/cm/lists",
7664 "title": "Creates a new List",
7667 "title": "Example usage:",
7668 "content": "curl https://{domain}/api/cm/lists -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
7672 "name": "CreateLists",
7673 "group": "Cm_Lists",
7688 "field": "description",
7695 "field": "dialPrefix",
7701 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7703 "filename": "server/api/cmList/index.js",
7704 "groupTitle": "Cm_Lists"
7708 "url": "/api/cm/lists/{id}",
7709 "title": "Deletes a List",
7712 "title": "Example usage:",
7713 "content": "curl https://{domain}/api/cm/lists/{id} -v -u {name}:{password} -X DELETE",
7717 "name": "DeleteLists",
7718 "group": "Cm_Lists",
7719 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7721 "filename": "server/api/cmList/index.js",
7722 "groupTitle": "Cm_Lists"
7726 "url": "/api/cm/lists/describe",
7727 "title": "Gets table info about Lists",
7730 "title": "Example usage:",
7731 "content": "curl https://{domain}/api/cm/lists/describe -v -u {name}:{password}",
7735 "name": "DescribeLists",
7736 "group": "Cm_Lists",
7737 "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>",
7739 "filename": "server/api/cmList/index.js",
7740 "groupTitle": "Cm_Lists"
7744 "url": "/api/cm/lists/{id}/users",
7745 "title": "Gets agents from list",
7748 "title": "Example usage:",
7749 "content": "curl https://{domain}/api/cm/lists/{id}/users -v -u {name}:{password} -X GET",
7753 "name": "GetAgents",
7754 "group": "Cm_Lists",
7755 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7757 "filename": "server/api/cmList/index.js",
7758 "groupTitle": "Cm_Lists"
7762 "url": "/api/cm/lists",
7763 "title": "Gets a list of Lists",
7766 "title": "Example usage:",
7767 "content": "curl https://{domain}/api/cm/lists -v -u {name}:{password}",
7772 "group": "Cm_Lists",
7773 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
7775 "filename": "server/api/cmList/index.js",
7776 "groupTitle": "Cm_Lists"
7780 "url": "/api/cm/lists/{id}/users",
7781 "title": "Removes agents from a list",
7784 "title": "Example usage:",
7785 "content": "curl https://{domain}/api/cm/lists/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
7789 "name": "RemoveAgents",
7790 "group": "Cm_Lists",
7791 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7793 "filename": "server/api/cmList/index.js",
7794 "groupTitle": "Cm_Lists"
7798 "url": "/api/cm/lists/{id}/dispositions",
7799 "title": "Removes dispositions from account",
7802 "title": "Example usage:",
7803 "content": "curl https://{domain}/api/cm/lists/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
7807 "name": "RemoveDispositions",
7808 "group": "Cm_Lists",
7809 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7811 "filename": "server/api/cmList/index.js",
7812 "groupTitle": "Cm_Lists"
7816 "url": "/api/cm/lists/{id}",
7817 "title": "Gets a single List",
7820 "title": "Example usage:",
7821 "content": "curl https://{domain}/api/cm/lists/{id} -v -u {name}:{password}",
7825 "name": "ShowLists",
7826 "group": "Cm_Lists",
7827 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7829 "filename": "server/api/cmList/index.js",
7830 "groupTitle": "Cm_Lists"
7834 "url": "/api/cm/lists/{id}/users",
7835 "title": "Adds agents to a list",
7838 "title": "Example usage:",
7839 "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",
7843 "name": "addAgents",
7844 "group": "Cm_Lists",
7845 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7847 "filename": "server/api/cmList/index.js",
7848 "groupTitle": "Cm_Lists"
7852 "url": "/api/cm/lists/{id}/contacts",
7853 "title": "Creates new contacts",
7856 "title": "Example usage:",
7857 "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",
7861 "name": "addContacts",
7862 "group": "Cm_Lists",
7870 "field": "firstName",
7877 "field": "lastName",
7891 "field": "postalCode",
7912 "field": "dateOfBirth",
7919 "field": "description",
7961 "field": "facebook",
8017 "field": "telegram",
8031 "field": "priority",
8038 "field": "scheduledat",
8044 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8046 "filename": "server/api/cmList/index.js",
8047 "groupTitle": "Cm_Lists"
8051 "url": "/api/cm/lists/{id}/fields",
8052 "title": "Creates a new custom field",
8055 "title": "Example usage:",
8056 "content": "curl https://{domain}/api/cm/lists/{id}/fields -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8060 "name": "addCustomField",
8061 "group": "Cm_Lists",
8062 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8064 "filename": "server/api/cmList/index.js",
8065 "groupTitle": "Cm_Lists"
8069 "url": "/api/cm/lists/{id}/dispositions",
8070 "title": "Creates new disposition",
8073 "title": "Example usage:",
8074 "content": "curl https://{domain}/api/cm/lists/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8078 "name": "addDisposition",
8079 "group": "Cm_Lists",
8106 "field": "description",
8112 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8114 "filename": "server/api/cmList/index.js",
8115 "groupTitle": "Cm_Lists"
8119 "url": "/api/cm/lists/{id}/contacts",
8120 "title": "Gets List Contacts",
8123 "title": "Example usage:",
8124 "content": "curl https://{domain}/api/cm/lists/{id}/contacts -v -u {name}:{password} -X GET",
8128 "name": "getContacts",
8129 "group": "Cm_Lists",
8130 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8132 "filename": "server/api/cmList/index.js",
8133 "groupTitle": "Cm_Lists"
8137 "url": "/api/cm/lists/{id}/fields",
8138 "title": "Gets Custom Fields",
8141 "title": "Example usage:",
8142 "content": "curl https://{domain}/api/cm/lists/{id}/fields -v -u {name}:{password} -X GET",
8146 "name": "getCustomFields",
8147 "group": "Cm_Lists",
8148 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8150 "filename": "server/api/cmList/index.js",
8151 "groupTitle": "Cm_Lists"
8155 "url": "/api/cm/lists/{id}/dispositions",
8156 "title": "Gets list dispositions",
8159 "title": "Example usage:",
8160 "content": "curl https://{domain}/api/cm/lists/{id}/dispositions -v -u {name}:{password} -X GET",
8164 "name": "getDispositions",
8165 "group": "Cm_Lists",
8166 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8168 "filename": "server/api/cmList/index.js",
8169 "groupTitle": "Cm_Lists"
8173 "url": "/api/cm/lists/{id}/contacts/csv",
8174 "title": "Gets CSV List Contacts",
8177 "title": "Example usage:",
8178 "content": "curl https://{domain}/api/cm/lists/{id}/contacts/csv -v -u {name}:{password} -X GET",
8183 "group": "Cm_Lists",
8184 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8186 "filename": "server/api/cmList/index.js",
8187 "groupTitle": "Cm_Lists"
8191 "url": "/api/cm/lists/{id}",
8192 "title": "Update an existing List",
8195 "title": "Example usage:",
8196 "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",
8200 "name": "updateLists",
8201 "group": "Cm_Lists",
8202 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8204 "filename": "server/api/cmList/index.js",
8205 "groupTitle": "Cm_Lists"
8209 "url": "/api/cm/contacts/upload/:id",
8210 "title": "Import new contacts by csv",
8213 "title": "Example usage:",
8214 "content": "curl https://{domain}/api/cm/contacts/upload/:id -v -u {name}:{password} -X POST",
8219 "group": "Cm_contacts",
8220 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8222 "filename": "server/api/cmContact/index.js",
8223 "groupTitle": "Cm_contacts"
8227 "url": "/api/cm/contacts/upload",
8228 "title": "Upload csv",
8231 "title": "Example usage:",
8232 "content": "curl https://{domain}/api/cm/contacts/upload -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
8237 "group": "Cm_contacts",
8238 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8240 "filename": "server/api/cmContact/index.js",
8241 "groupTitle": "Cm_contacts"
8245 "url": "/api/cm/contacts/csv",
8246 "title": "Create new contacts by csv",
8249 "title": "Example usage:",
8250 "content": "curl https://{domain}/api/cm/contacts/csv -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
8254 "name": "uploadCsv",
8255 "group": "Cm_contacts",
8256 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8258 "filename": "server/api/cmContact/index.js",
8259 "groupTitle": "Cm_contacts"
8263 "url": "/api/conditions/{id}",
8264 "title": "Deletes a Condition",
8267 "title": "Example usage:",
8268 "content": "curl https://{domain}/api/conditions/{id} -v -u {name}:{password} -X DELETE",
8272 "name": "DeleteConditions",
8273 "group": "Conditions",
8274 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8276 "filename": "server/api/condition/index.js",
8277 "groupTitle": "Conditions"
8281 "url": "/api/conditions/{id}",
8282 "title": "Update an existing Condition",
8285 "title": "Example usage:",
8286 "content": "curl https://{domain}/api/conditions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8290 "name": "updateConditions",
8291 "group": "Conditions",
8292 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8294 "filename": "server/api/condition/index.js",
8295 "groupTitle": "Conditions"
8299 "url": "/api/contact_item_types",
8300 "title": "Creates a new ContactItemType",
8303 "title": "Example usage:",
8304 "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",
8308 "name": "CreateContactItemTypes",
8309 "group": "ContactItemType",
8331 "field": "rgbBackgroundColor",
8337 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8339 "filename": "server/api/contactItemType/index.js",
8340 "groupTitle": "ContactItemType"
8344 "url": "/api/contact_item_types/{id}",
8345 "title": "Deletes a ContactItemType",
8348 "title": "Example usage:",
8349 "content": "curl https://{domain}/api/contact_item_types/{id} -v -u {name}:{password} -X DELETE",
8353 "name": "DeleteContactItemTypes",
8354 "group": "ContactItemType",
8355 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8357 "filename": "server/api/contactItemType/index.js",
8358 "groupTitle": "ContactItemType"
8362 "url": "/api/contact_item_types",
8363 "title": "Gets a list of ContactItemTypes",
8366 "title": "Example usage:",
8367 "content": "curl https://{domain}/api/contact_item_types -v -u {name}:{password}",
8371 "name": "GetContactItemTypes",
8372 "group": "ContactItemType",
8373 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8375 "filename": "server/api/contactItemType/index.js",
8376 "groupTitle": "ContactItemType"
8380 "url": "/api/contact_item_types/{id}",
8381 "title": "Gets a single ContactItemType",
8384 "title": "Example usage:",
8385 "content": "curl https://{domain}/api/contact_item_types/{id} -v -u {name}:{password}",
8389 "name": "ShowContactItemTypes",
8390 "group": "ContactItemType",
8391 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8393 "filename": "server/api/contactItemType/index.js",
8394 "groupTitle": "ContactItemType"
8398 "url": "/api/contact_item_types/{id}",
8399 "title": "Update an existing ContactItemType",
8402 "title": "Example usage:",
8403 "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",
8407 "name": "updateContactItemTypes",
8408 "group": "ContactItemType",
8409 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8411 "filename": "server/api/contactItemType/index.js",
8412 "groupTitle": "ContactItemType"
8416 "url": "/api/cm/custom_field",
8417 "title": "Create a new custom field",
8420 "title": "Example usage:",
8421 "content": "curl https://{domain}/api/cm/custom_field -d '{\"name\": \"mycf\", \"type\": \"text\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8425 "name": "CreateCustomField",
8426 "group": "Custom_Fields",
8427 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8429 "filename": "server/api/cmCustomField/index.js",
8430 "groupTitle": "Custom_Fields"
8434 "url": "/api/dashboards/items",
8435 "title": "Create dasboard item",
8438 "title": "Example usage:",
8439 "content": "curl https://{domain}/api/dashboards/items \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
8444 "group": "Dashboard_Items",
8445 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8447 "filename": "server/api/dashboardItem/index.js",
8448 "groupTitle": "Dashboard_Items"
8452 "url": "/api/dashboards/items/{id}",
8453 "title": "Deletes a Dashboard Item",
8456 "title": "Example usage:",
8457 "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password} -X DELETE",
8461 "name": "DeleteDashboard_Items",
8462 "group": "Dashboard_Items",
8463 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8465 "filename": "server/api/dashboardItem/index.js",
8466 "groupTitle": "Dashboard_Items"
8470 "url": "/api/dashboards/items/{id}",
8471 "title": "Gets a single Dashboard Item",
8474 "title": "Example usage:",
8475 "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password}",
8479 "name": "ShowDashboard_Items",
8480 "group": "Dashboard_Items",
8481 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8483 "filename": "server/api/dashboardItem/index.js",
8484 "groupTitle": "Dashboard_Items"
8488 "url": "/api/dashboards/items/{id}",
8489 "title": "Update an existing item",
8492 "title": "Example usage:",
8493 "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password} -X PUT",
8498 "group": "Dashboard_Items",
8499 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8501 "filename": "server/api/dashboardItem/index.js",
8502 "groupTitle": "Dashboard_Items"
8506 "url": "/api/dashboards/clone",
8507 "title": "Clone an existing Dashboard",
8510 "title": "Example usage:",
8511 "content": "curl https://{domain}/api/dashboards/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
8515 "name": "CloneDashboards",
8516 "group": "Dashboards",
8517 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8519 "filename": "server/api/dashboard/index.js",
8520 "groupTitle": "Dashboards"
8524 "url": "/api/dashboards",
8525 "title": "Creates a new Dashboard",
8528 "title": "Example usage:",
8529 "content": "curl https://{domain}/api/dashboards -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
8533 "name": "CreateDashboards",
8534 "group": "Dashboards",
8549 "field": "description",
8555 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8557 "filename": "server/api/dashboard/index.js",
8558 "groupTitle": "Dashboards"
8562 "url": "/api/dashboards/{id}",
8563 "title": "Deletes a Dashboard",
8566 "title": "Example usage:",
8567 "content": "curl https://{domain}/api/dashboards/{id} -v -u {name}:{password} -X DELETE",
8571 "name": "DeleteDashboards",
8572 "group": "Dashboards",
8573 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8575 "filename": "server/api/dashboard/index.js",
8576 "groupTitle": "Dashboards"
8580 "url": "/api/dashboards",
8581 "title": "Gets a list of Dashboards",
8584 "title": "Example usage:",
8585 "content": "curl https://{domain}/api/dashboards -v -u {name}:{password}",
8589 "name": "GetDashboards",
8590 "group": "Dashboards",
8591 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8593 "filename": "server/api/dashboard/index.js",
8594 "groupTitle": "Dashboards"
8598 "url": "/api/dashboards/{id}",
8599 "title": "Gets a single Dashboard",
8602 "title": "Example usage:",
8603 "content": "curl https://{domain}/api/dashboards/{id} -v -u {name}:{password}",
8607 "name": "ShowDashboards",
8608 "group": "Dashboards",
8609 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8611 "filename": "server/api/dashboard/index.js",
8612 "groupTitle": "Dashboards"
8616 "url": "/api/dashboards/{id}/items",
8617 "title": "Creates new item",
8620 "title": "Example usage:",
8621 "content": "curl https://{domain}/api/dashboards/{id}/items -d '{\"type\": \"counter\", \"...\": \"...\"}]' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8626 "group": "Dashboards",
8627 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8629 "filename": "server/api/dashboard/index.js",
8630 "groupTitle": "Dashboards"
8634 "url": "/api/dashboards/{id}/items",
8635 "title": "Gets items",
8638 "title": "Example usage:",
8639 "content": "curl https://{domain}/api/dashboards/{id}/items -v -u {name}:{password} -X GET",
8644 "group": "Dashboards",
8645 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8647 "filename": "server/api/dashboard/index.js",
8648 "groupTitle": "Dashboards"
8652 "url": "/api/dashboards/{id}",
8653 "title": "Update an existing Dashboard",
8656 "title": "Example usage:",
8657 "content": "curl https://{domain}/api/dashboards/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8661 "name": "updateDashboards",
8662 "group": "Dashboards",
8663 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8665 "filename": "server/api/dashboard/index.js",
8666 "groupTitle": "Dashboards"
8670 "url": "/api/integrations/desk/accounts",
8671 "title": "Creates a new Desk Account",
8674 "title": "Example usage:",
8675 "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",
8679 "name": "CreateDesk_Accounts",
8680 "group": "Desk_Accounts",
8695 "field": "description",
8702 "field": "username",
8709 "field": "remoteUri",
8719 "field": "authType",
8726 "field": "password",
8733 "field": "consumerKey",
8740 "field": "consumerSecret",
8754 "field": "tokenSecret",
8761 "field": "serverUrl",
8768 "\"integrationTab\"",
8778 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8780 "filename": "server/api/intDeskAccount/index.js",
8781 "groupTitle": "Desk_Accounts"
8785 "url": "/api/integrations/desk/accounts/{id}",
8786 "title": "Deletes a Desk Account",
8789 "title": "Example usage:",
8790 "content": "curl https://{domain}/api/integrations/desk/accounts/{id} -v -u {name}:{password} -X DELETE",
8794 "name": "DeleteDesk_Accounts",
8795 "group": "Desk_Accounts",
8796 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8798 "filename": "server/api/intDeskAccount/index.js",
8799 "groupTitle": "Desk_Accounts"
8803 "url": "/api/integrations/desk/accounts",
8804 "title": "Gets a list of Desk Accounts",
8807 "title": "Example usage:",
8808 "content": "curl https://{domain}/api/integrations/desk/accounts -v -u {name}:{password}",
8812 "name": "GetDesk_Accounts",
8813 "group": "Desk_Accounts",
8814 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8816 "filename": "server/api/intDeskAccount/index.js",
8817 "groupTitle": "Desk_Accounts"
8821 "url": "/api/integrations/desk/accounts/{id}",
8822 "title": "Gets a single Desk Account",
8825 "title": "Example usage:",
8826 "content": "curl https://{domain}/api/integrations/desk/accounts/{id} -v -u {name}:{password}",
8830 "name": "ShowDesk_Accounts",
8831 "group": "Desk_Accounts",
8832 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8834 "filename": "server/api/intDeskAccount/index.js",
8835 "groupTitle": "Desk_Accounts"
8839 "url": "/api/integrations/desk/accounts/{id}/configurations",
8840 "title": "Creates new configuration",
8843 "title": "Example usage:",
8844 "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",
8848 "name": "addConfiguration",
8849 "group": "Desk_Accounts",
8850 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8852 "filename": "server/api/intDeskAccount/index.js",
8853 "groupTitle": "Desk_Accounts"
8857 "url": "/api/integrations/desk/accounts/{id}/configurations",
8858 "title": "Gets account configurations",
8861 "title": "Example usage:",
8862 "content": "curl https://{domain}/api/integrations/desk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
8866 "name": "getConfigurations",
8867 "group": "Desk_Accounts",
8868 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8870 "filename": "server/api/intDeskAccount/index.js",
8871 "groupTitle": "Desk_Accounts"
8875 "url": "/api/integrations/desk/accounts/{id}/fields",
8876 "title": "Gets account fields",
8879 "title": "Example usage:",
8880 "content": "curl https://{domain}/api/integrations/desk/accounts/{id}/fields -v -u {name}:{password} -X GET",
8884 "name": "getFields",
8885 "group": "Desk_Accounts",
8886 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8888 "filename": "server/api/intDeskAccount/index.js",
8889 "groupTitle": "Desk_Accounts"
8893 "url": "/api/integrations/desk/accounts/{id}",
8894 "title": "Update an existing Desk Account",
8897 "title": "Example usage:",
8898 "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",
8902 "name": "updateDesk_Accounts",
8903 "group": "Desk_Accounts",
8904 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8906 "filename": "server/api/intDeskAccount/index.js",
8907 "groupTitle": "Desk_Accounts"
8911 "url": "/api/integrations/desk/configurations",
8912 "title": "Creates a new Desk Configuration",
8915 "title": "Example usage:",
8916 "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",
8920 "name": "CreateDesk_Configurations",
8921 "group": "Desk_Configurations",
8936 "field": "description",
8942 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8944 "filename": "server/api/intDeskConfiguration/index.js",
8945 "groupTitle": "Desk_Configurations"
8949 "url": "/api/integrations/desk/configurations/{id}",
8950 "title": "Deletes a Desk Configuration",
8953 "title": "Example usage:",
8954 "content": "curl https://{domain}/api/integrations/desk/configurations/{id} -v -u {name}:{password} -X DELETE",
8958 "name": "DeleteDesk_Configurations",
8959 "group": "Desk_Configurations",
8960 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8962 "filename": "server/api/intDeskConfiguration/index.js",
8963 "groupTitle": "Desk_Configurations"
8967 "url": "/api/integrations/desk/configurations",
8968 "title": "Gets a list of Desk Configurations",
8971 "title": "Example usage:",
8972 "content": "curl https://{domain}/api/integrations/desk/configurations -v -u {name}:{password}",
8976 "name": "GetDesk_Configurations",
8977 "group": "Desk_Configurations",
8978 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8980 "filename": "server/api/intDeskConfiguration/index.js",
8981 "groupTitle": "Desk_Configurations"
8985 "url": "/api/integrations/desk/configurations/{id}",
8986 "title": "Gets a single Desk Configuration",
8989 "title": "Example usage:",
8990 "content": "curl https://{domain}/api/integrations/desk/configurations/{id} -v -u {name}:{password}",
8994 "name": "ShowDesk_Configurations",
8995 "group": "Desk_Configurations",
8996 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8998 "filename": "server/api/intDeskConfiguration/index.js",
8999 "groupTitle": "Desk_Configurations"
9003 "url": "/api/integrations/desk/configurations/{id}/descriptions",
9004 "title": "Gets configurations descriptions",
9007 "title": "Example usage:",
9008 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
9012 "name": "getDescriptions",
9013 "group": "Desk_Configurations",
9014 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9016 "filename": "server/api/intDeskConfiguration/index.js",
9017 "groupTitle": "Desk_Configurations"
9021 "url": "/api/integrations/desk/configurations/{id}/fields",
9022 "title": "Gets configurations fields",
9025 "title": "Example usage:",
9026 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/fields -v -u {name}:{password} -X GET",
9030 "name": "getFields",
9031 "group": "Desk_Configurations",
9032 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9034 "filename": "server/api/intDeskConfiguration/index.js",
9035 "groupTitle": "Desk_Configurations"
9039 "url": "/api/integrations/desk/configurations/{id}/subjects",
9040 "title": "Gets configurations subjects",
9043 "title": "Example usage:",
9044 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
9048 "name": "getSubjects",
9049 "group": "Desk_Configurations",
9050 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9052 "filename": "server/api/intDeskConfiguration/index.js",
9053 "groupTitle": "Desk_Configurations"
9057 "url": "/api/integrations/desk/configurations/{id}/tags",
9058 "title": "Gets configurations tags",
9061 "title": "Example usage:",
9062 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/tags -v -u {name}:{password} -X GET",
9067 "group": "Desk_Configurations",
9068 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9070 "filename": "server/api/intDeskConfiguration/index.js",
9071 "groupTitle": "Desk_Configurations"
9075 "url": "/api/integrations/desk/configurations/{id}/tags",
9076 "title": "Sets new tags",
9079 "title": "Example usage:",
9080 "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",
9085 "group": "Desk_Configurations",
9086 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9088 "filename": "server/api/intDeskConfiguration/index.js",
9089 "groupTitle": "Desk_Configurations"
9093 "url": "/api/integrations/desk/configurations/{id}",
9094 "title": "Update an existing Desk Configuration",
9097 "title": "Example usage:",
9098 "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",
9102 "name": "updateDesk_Configurations",
9103 "group": "Desk_Configurations",
9104 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9106 "filename": "server/api/intDeskConfiguration/index.js",
9107 "groupTitle": "Desk_Configurations"
9111 "url": "/api/integrations/desk/fields",
9112 "title": "Creates a new Desk Field",
9115 "title": "Example usage:",
9116 "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",
9120 "name": "CreateDesk_Fields",
9121 "group": "Desk_Fields",
9131 "\"customVariable\"",
9159 "\"customVariable\""
9169 "field": "keyContent",
9183 "field": "nameField",
9190 "field": "customField",
9197 "field": "variableName",
9203 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9205 "filename": "server/api/intDeskField/index.js",
9206 "groupTitle": "Desk_Fields"
9210 "url": "/api/integrations/desk/fields/{id}",
9211 "title": "Deletes a Desk Field",
9214 "title": "Example usage:",
9215 "content": "curl https://{domain}/api/integrations/desk/fields/{id} -v -u {name}:{password} -X DELETE",
9219 "name": "DeleteDesk_Fields",
9220 "group": "Desk_Fields",
9221 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9223 "filename": "server/api/intDeskField/index.js",
9224 "groupTitle": "Desk_Fields"
9228 "url": "/api/integrations/desk/fields",
9229 "title": "Gets a list of Desk Fields",
9232 "title": "Example usage:",
9233 "content": "curl https://{domain}/api/integrations/desk/fields -v -u {name}:{password}",
9237 "name": "GetDesk_Fields",
9238 "group": "Desk_Fields",
9239 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
9241 "filename": "server/api/intDeskField/index.js",
9242 "groupTitle": "Desk_Fields"
9246 "url": "/api/integrations/desk/fields/{id}",
9247 "title": "Gets a single Desk Field",
9250 "title": "Example usage:",
9251 "content": "curl https://{domain}/api/integrations/desk/fields/{id} -v -u {name}:{password}",
9255 "name": "ShowDesk_Fields",
9256 "group": "Desk_Fields",
9257 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9259 "filename": "server/api/intDeskField/index.js",
9260 "groupTitle": "Desk_Fields"
9264 "url": "/api/integrations/desk/fields/{id}",
9265 "title": "Update an existing Desk Field",
9268 "title": "Example usage:",
9269 "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",
9273 "name": "updateDesk_Fields",
9274 "group": "Desk_Fields",
9275 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9277 "filename": "server/api/intDeskField/index.js",
9278 "groupTitle": "Desk_Fields"
9282 "url": "/api/dispositions",
9283 "title": "Creates a new Disposition",
9286 "title": "Example usage:",
9287 "content": "curl https://{domain}/api/dispositions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9291 "name": "CreateDispositions",
9292 "group": "Dispositions",
9319 "field": "description",
9325 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9327 "filename": "server/api/disposition/index.js",
9328 "groupTitle": "Dispositions"
9332 "url": "/api/dispositions/{id}",
9333 "title": "Deletes a Disposition",
9336 "title": "Example usage:",
9337 "content": "curl https://{domain}/api/dispositions/{id} -v -u {name}:{password} -X DELETE",
9341 "name": "DeleteDispositions",
9342 "group": "Dispositions",
9343 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9345 "filename": "server/api/disposition/index.js",
9346 "groupTitle": "Dispositions"
9350 "url": "/api/dispositions",
9351 "title": "Gets a list of Dispositions",
9354 "title": "Example usage:",
9355 "content": "curl https://{domain}/api/dispositions -v -u {name}:{password}",
9359 "name": "GetDispositions",
9360 "group": "Dispositions",
9361 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
9363 "filename": "server/api/disposition/index.js",
9364 "groupTitle": "Dispositions"
9368 "url": "/api/dispositions/{id}",
9369 "title": "Gets a single Disposition",
9372 "title": "Example usage:",
9373 "content": "curl https://{domain}/api/dispositions/{id} -v -u {name}:{password}",
9377 "name": "ShowDispositions",
9378 "group": "Dispositions",
9379 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9381 "filename": "server/api/disposition/index.js",
9382 "groupTitle": "Dispositions"
9386 "url": "/api/dispositions/{id}",
9387 "title": "Update an existing Disposition",
9390 "title": "Example usage:",
9391 "content": "curl https://{domain}/api/dispositions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
9395 "name": "updateDispositions",
9396 "group": "Dispositions",
9397 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9399 "filename": "server/api/disposition/index.js",
9400 "groupTitle": "Dispositions"
9404 "url": "/api/integrations/dynamics365/accounts",
9405 "title": "Creates a new Dynamics365 Account",
9408 "title": "Example usage:",
9409 "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",
9413 "name": "CreateDynamics365_Accounts",
9414 "group": "Dynamics365_Accounts",
9429 "field": "username",
9436 "field": "password",
9443 "field": "remoteUri",
9450 "field": "tenantId",
9457 "field": "clientId",
9464 "field": "clientSecret",
9471 "field": "serverUrl",
9478 "field": "description",
9484 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9486 "filename": "server/api/intDynamics365Account/index.js",
9487 "groupTitle": "Dynamics365_Accounts"
9491 "url": "/api/integrations/dynamics365/accounts/{id}",
9492 "title": "Deletes a Dynamics365 Account",
9495 "title": "Example usage:",
9496 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id} -v -u {name}:{password} -X DELETE",
9500 "name": "DeleteDynamics365_Accounts",
9501 "group": "Dynamics365_Accounts",
9502 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9504 "filename": "server/api/intDynamics365Account/index.js",
9505 "groupTitle": "Dynamics365_Accounts"
9509 "url": "/api/integrations/dynamics365/accounts",
9510 "title": "Gets a list of Dynamics365 Accounts",
9513 "title": "Example usage:",
9514 "content": "curl https://{domain}/api/integrations/dynamics365/accounts -v -u {name}:{password}",
9518 "name": "GetDynamics365_Accounts",
9519 "group": "Dynamics365_Accounts",
9520 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
9522 "filename": "server/api/intDynamics365Account/index.js",
9523 "groupTitle": "Dynamics365_Accounts"
9527 "url": "/api/integrations/dynamics365/accounts/{id}",
9528 "title": "Gets a single Dynamics365 Account",
9531 "title": "Example usage:",
9532 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id} -v -u {name}:{password}",
9536 "name": "ShowDynamics365_Accounts",
9537 "group": "Dynamics365_Accounts",
9538 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9540 "filename": "server/api/intDynamics365Account/index.js",
9541 "groupTitle": "Dynamics365_Accounts"
9545 "url": "/api/integrations/dynamics365/accounts/{id}/configurations",
9546 "title": "Creates new configuration",
9549 "title": "Example usage:",
9550 "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",
9554 "name": "addConfiguration",
9555 "group": "Dynamics365_Accounts",
9556 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9558 "filename": "server/api/intDynamics365Account/index.js",
9559 "groupTitle": "Dynamics365_Accounts"
9563 "url": "/api/integrations/dynamics365/accounts/{id}/configurations",
9564 "title": "Gets account configurations",
9567 "title": "Example usage:",
9568 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id}/configurations -v -u {name}:{password} -X GET",
9572 "name": "getConfigurations",
9573 "group": "Dynamics365_Accounts",
9574 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9576 "filename": "server/api/intDynamics365Account/index.js",
9577 "groupTitle": "Dynamics365_Accounts"
9581 "url": "/api/integrations/dynamics365/accounts/{id}/fields",
9582 "title": "Gets account fields",
9585 "title": "Example usage:",
9586 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id}/fields -v -u {name}:{password} -X GET",
9590 "name": "getFields",
9591 "group": "Dynamics365_Accounts",
9592 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9594 "filename": "server/api/intDynamics365Account/index.js",
9595 "groupTitle": "Dynamics365_Accounts"
9599 "url": "/api/integrations/dynamics365/accounts/{id}",
9600 "title": "Update an existing Dynamics365 Account",
9603 "title": "Example usage:",
9604 "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",
9608 "name": "updateDynamics365_Accounts",
9609 "group": "Dynamics365_Accounts",
9610 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9612 "filename": "server/api/intDynamics365Account/index.js",
9613 "groupTitle": "Dynamics365_Accounts"
9617 "url": "/api/integrations/dynamics365/configurations",
9618 "title": "Creates a new Dynamics365 Configuration",
9621 "title": "Example usage:",
9622 "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",
9626 "name": "CreateDynamics365_Configurations",
9627 "group": "Dynamics365_Configurations",
9642 "field": "description",
9653 "field": "ticketType",
9659 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9661 "filename": "server/api/intDynamics365Configuration/index.js",
9662 "groupTitle": "Dynamics365_Configurations"
9666 "url": "/api/integrations/dynamics365/configurations/{id}",
9667 "title": "Deletes a Dynamics365 Configuration",
9670 "title": "Example usage:",
9671 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id} -v -u {name}:{password} -X DELETE",
9675 "name": "DeleteDynamics365_Configurations",
9676 "group": "Dynamics365_Configurations",
9677 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9679 "filename": "server/api/intDynamics365Configuration/index.js",
9680 "groupTitle": "Dynamics365_Configurations"
9684 "url": "/api/integrations/dynamics365/configurations",
9685 "title": "Gets a list of Dynamics365 Configurations",
9688 "title": "Example usage:",
9689 "content": "curl https://{domain}/api/integrations/dynamics365/configurations -v -u {name}:{password}",
9693 "name": "GetDynamics365_Configurations",
9694 "group": "Dynamics365_Configurations",
9695 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
9697 "filename": "server/api/intDynamics365Configuration/index.js",
9698 "groupTitle": "Dynamics365_Configurations"
9702 "url": "/api/integrations/dynamics365/configurations/{id}",
9703 "title": "Gets a single Dynamics365 Configuration",
9706 "title": "Example usage:",
9707 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id} -v -u {name}:{password}",
9711 "name": "ShowDynamics365_Configurations",
9712 "group": "Dynamics365_Configurations",
9713 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9715 "filename": "server/api/intDynamics365Configuration/index.js",
9716 "groupTitle": "Dynamics365_Configurations"
9720 "url": "/api/integrations/dynamics365/configurations/{id}/descriptions",
9721 "title": "Gets configurations descriptions",
9724 "title": "Example usage:",
9725 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
9729 "name": "getDescriptions",
9730 "group": "Dynamics365_Configurations",
9731 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9733 "filename": "server/api/intDynamics365Configuration/index.js",
9734 "groupTitle": "Dynamics365_Configurations"
9738 "url": "/api/integrations/dynamics365/configurations/{id}/fields",
9739 "title": "Gets configurations fields",
9742 "title": "Example usage:",
9743 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/fields -v -u {name}:{password} -X GET",
9747 "name": "getFields",
9748 "group": "Dynamics365_Configurations",
9749 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9751 "filename": "server/api/intDynamics365Configuration/index.js",
9752 "groupTitle": "Dynamics365_Configurations"
9756 "url": "/api/integrations/zoho/configurations/{id}/subjects",
9757 "title": "Gets configurations subjects",
9760 "title": "Example usage:",
9761 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id}/subjects -v -u {name}:{password} -X GET",
9765 "name": "getSubjects",
9766 "group": "Dynamics365_Configurations",
9767 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9769 "filename": "server/api/intDynamics365Configuration/index.js",
9770 "groupTitle": "Dynamics365_Configurations"
9774 "url": "/api/integrations/dynamics365/configurations/{id}",
9775 "title": "Update an existing Dynamics365 Configuration",
9778 "title": "Example usage:",
9779 "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",
9783 "name": "updateDynamics365_Configurations",
9784 "group": "Dynamics365_Configurations",
9785 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9787 "filename": "server/api/intDynamics365Configuration/index.js",
9788 "groupTitle": "Dynamics365_Configurations"
9792 "url": "/api/integrations/dynamics365/fields",
9793 "title": "Creates a new Dynamics365 Field",
9796 "title": "Example usage:",
9797 "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",
9801 "name": "CreateDynamics365_Fields",
9802 "group": "Dynamics365_Fields",
9812 "\"customVariable\"",
9840 "\"customVariable\""
9850 "field": "keyContent",
9864 "field": "nameField",
9871 "field": "customField",
9878 "field": "variableName",
9884 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9886 "filename": "server/api/intDynamics365Field/index.js",
9887 "groupTitle": "Dynamics365_Fields"
9891 "url": "/api/integrations/dynamics365/fields/{id}",
9892 "title": "Deletes a Dynamics365 Field",
9895 "title": "Example usage:",
9896 "content": "curl https://{domain}/api/integrations/dynamics365/fields/{id} -v -u {name}:{password} -X DELETE",
9900 "name": "DeleteDynamics365_Fields",
9901 "group": "Dynamics365_Fields",
9902 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9904 "filename": "server/api/intDynamics365Field/index.js",
9905 "groupTitle": "Dynamics365_Fields"
9909 "url": "/api/integrations/dynamics365/fields",
9910 "title": "Gets a list of Dynamics365 Fields",
9913 "title": "Example usage:",
9914 "content": "curl https://{domain}/api/integrations/dynamics365/fields -v -u {name}:{password}",
9918 "name": "GetDynamics365_Fields",
9919 "group": "Dynamics365_Fields",
9920 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
9922 "filename": "server/api/intDynamics365Field/index.js",
9923 "groupTitle": "Dynamics365_Fields"
9927 "url": "/api/integrations/dynamics365/fields/{id}",
9928 "title": "Gets a single Dynamics365 Field",
9931 "title": "Example usage:",
9932 "content": "curl https://{domain}/api/integrations/dynamics365/fields/{id} -v -u {name}:{password}",
9936 "name": "ShowDynamics365_Fields",
9937 "group": "Dynamics365_Fields",
9938 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9940 "filename": "server/api/intDynamics365Field/index.js",
9941 "groupTitle": "Dynamics365_Fields"
9945 "url": "/api/integrations/dynamics365/fields/{id}",
9946 "title": "Update an existing Dynamics365 Field",
9949 "title": "Example usage:",
9950 "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",
9954 "name": "updateDynamics365_Fields",
9955 "group": "Dynamics365_Fields",
9956 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9958 "filename": "server/api/intDynamics365Field/index.js",
9959 "groupTitle": "Dynamics365_Fields"
9963 "url": "/api/fax/accounts/{id}/users",
9964 "title": "Add agents to a fax account",
9967 "title": "Example usage:",
9968 "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",
9972 "name": "AddAgents",
9973 "group": "Fax_Accounts",
9974 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9976 "filename": "server/api/faxAccount/index.js",
9977 "groupTitle": "Fax_Accounts"
9981 "url": "/api/fax/accounts",
9982 "title": "Creates a new Account",
9985 "title": "Example usage:",
9986 "content": "curl https://{domain}/api/fax/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9990 "name": "CreateAccounts",
9991 "group": "Fax_Accounts",
10006 "field": "description",
10024 "field": "headerinfo",
10031 "field": "localstationid",
10046 "field": "minrate",
10061 "field": "maxrate",
10075 "field": "gateway",
10082 "field": "faxdetect",
10089 "field": "t38timeout",
10116 "field": "notificationTemplate",
10123 "field": "notificationSound",
10130 "field": "notificationShake",
10137 "field": "waitForTheAssignedAgent",
10144 "field": "queueTransfer",
10151 "field": "queueTransferTimeout",
10158 "field": "agentTransfer",
10165 "field": "agentTransferTimeout",
10172 "field": "mandatoryDispositionPauseId",
10173 "description": "<p>Status to put when mandatory disposition is enabled</p>"
10179 "field": "mandatoryDisposition",
10180 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
10185 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10186 "version": "0.0.0",
10187 "filename": "server/api/faxAccount/index.js",
10188 "groupTitle": "Fax_Accounts"
10192 "url": "/api/fax/accounts/{id}",
10193 "title": "Deletes a Account",
10196 "title": "Example usage:",
10197 "content": "curl https://{domain}/api/fax/accounts/{id} -v -u {name}:{password} -X DELETE",
10201 "name": "DeleteAccounts",
10202 "group": "Fax_Accounts",
10203 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10204 "version": "0.0.0",
10205 "filename": "server/api/faxAccount/index.js",
10206 "groupTitle": "Fax_Accounts"
10210 "url": "/api/fax/accounts/describe",
10211 "title": "Gets table info about Accounts",
10214 "title": "Example usage:",
10215 "content": "curl https://{domain}/api/fax/accounts/describe -v -u {name}:{password}",
10219 "name": "DescribeAccounts",
10220 "group": "Fax_Accounts",
10221 "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>",
10222 "version": "0.0.0",
10223 "filename": "server/api/faxAccount/index.js",
10224 "groupTitle": "Fax_Accounts"
10228 "url": "/api/fax/accounts",
10229 "title": "Gets a list of Accounts",
10232 "title": "Example usage:",
10233 "content": "curl https://{domain}/api/fax/accounts -v -u {name}:{password}",
10237 "name": "GetAccounts",
10238 "group": "Fax_Accounts",
10239 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
10240 "version": "0.0.0",
10241 "filename": "server/api/faxAccount/index.js",
10242 "groupTitle": "Fax_Accounts"
10246 "url": "/api/fax/accounts/{id}/users",
10247 "title": "Gets agents from fax account",
10250 "title": "Example usage:",
10251 "content": "curl https://{domain}/api/fax/accounts/{id}/users -v -u {name}:{password} -X GET",
10255 "name": "GetAgents",
10256 "group": "Fax_Accounts",
10257 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10258 "version": "0.0.0",
10259 "filename": "server/api/faxAccount/index.js",
10260 "groupTitle": "Fax_Accounts"
10264 "url": "/api/fax/accounts/{id}/users",
10265 "title": "Removes agents from a fax account",
10268 "title": "Example usage:",
10269 "content": "curl https://{domain}/api/fax/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10273 "name": "RemoveAgents",
10274 "group": "Fax_Accounts",
10275 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10276 "version": "0.0.0",
10277 "filename": "server/api/faxAccount/index.js",
10278 "groupTitle": "Fax_Accounts"
10282 "url": "/api/fax/accounts/{id}/canned_answers",
10283 "title": "Removes canned answers from account",
10286 "title": "Example usage:",
10287 "content": "curl https://{domain}/api/fax/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10291 "name": "RemoveAnswers",
10292 "group": "Fax_Accounts",
10293 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10294 "version": "0.0.0",
10295 "filename": "server/api/faxAccount/index.js",
10296 "groupTitle": "Fax_Accounts"
10300 "url": "/api/fax/accounts/{id}/dispositions",
10301 "title": "Removes dispositions from account",
10304 "title": "Example usage:",
10305 "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10309 "name": "RemoveDispositions",
10310 "group": "Fax_Accounts",
10311 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10312 "version": "0.0.0",
10313 "filename": "server/api/faxAccount/index.js",
10314 "groupTitle": "Fax_Accounts"
10318 "url": "/api/fax/accounts/{id}",
10319 "title": "Gets a single Account",
10322 "title": "Example usage:",
10323 "content": "curl https://{domain}/api/fax/accounts/{id} -v -u {name}:{password}",
10327 "name": "ShowAccounts",
10328 "group": "Fax_Accounts",
10329 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10330 "version": "0.0.0",
10331 "filename": "server/api/faxAccount/index.js",
10332 "groupTitle": "Fax_Accounts"
10336 "url": "/api/fax/accounts/{id}/canned_answers",
10337 "title": "Creates new canned answer",
10340 "title": "Example usage:",
10341 "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",
10345 "name": "addAnswer",
10346 "group": "Fax_Accounts",
10368 "field": "description",
10381 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10382 "version": "0.0.0",
10383 "filename": "server/api/faxAccount/index.js",
10384 "groupTitle": "Fax_Accounts"
10388 "url": "/api/fax/accounts/addaccountapplications",
10389 "title": "Creates new account and applications",
10392 "title": "Example usage:",
10393 "content": "curl https://{domain}/api/fax/accounts/addaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10397 "name": "addApplications",
10398 "group": "Fax_Accounts",
10406 "field": "priority",
10420 "field": "appdata",
10427 "field": "description",
10434 "field": "interval",
10440 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10441 "version": "0.0.0",
10442 "filename": "server/api/faxAccount/index.js",
10443 "groupTitle": "Fax_Accounts"
10447 "url": "/api/fax/accounts/{id}/applications",
10448 "title": "Creates new applications",
10451 "title": "Example usage:",
10452 "content": "curl https://{domain}/api/fax/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10456 "name": "addApplications",
10457 "group": "Fax_Accounts",
10465 "field": "priority",
10479 "field": "appdata",
10486 "field": "description",
10493 "field": "interval",
10499 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10500 "version": "0.0.0",
10501 "filename": "server/api/faxAccount/index.js",
10502 "groupTitle": "Fax_Accounts"
10506 "url": "/api/fax/accounts/{id}/dispositions",
10507 "title": "Creates new disposition",
10510 "title": "Example usage:",
10511 "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10515 "name": "addDisposition",
10516 "group": "Fax_Accounts",
10543 "field": "description",
10549 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10550 "version": "0.0.0",
10551 "filename": "server/api/faxAccount/index.js",
10552 "groupTitle": "Fax_Accounts"
10556 "url": "/api/fax/accounts/{id}/interactions",
10557 "title": "Creates new interactions",
10560 "title": "Example usage:",
10561 "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",
10565 "name": "addInteraction",
10566 "group": "Fax_Accounts",
10581 "field": "closedAt",
10588 "field": "disposition",
10595 "field": "secondDisposition",
10602 "field": "thirdDisposition",
10616 "field": "read1stAt",
10634 "field": "firstMsgDirection",
10641 "field": "lastMsgAt",
10652 "field": "lastMsgDirection",
10658 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10659 "version": "0.0.0",
10660 "filename": "server/api/faxAccount/index.js",
10661 "groupTitle": "Fax_Accounts"
10665 "url": "/api/fax/accounts/{id}/canned_answers",
10666 "title": "Gets account canned answers",
10669 "title": "Example usage:",
10670 "content": "curl https://{domain}/api/fax/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
10674 "name": "getAnswers",
10675 "group": "Fax_Accounts",
10676 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10677 "version": "0.0.0",
10678 "filename": "server/api/faxAccount/index.js",
10679 "groupTitle": "Fax_Accounts"
10683 "url": "/api/fax/accounts/{id}/applications",
10684 "title": "Gets account pplications",
10687 "title": "Example usage:",
10688 "content": "curl https://{domain}/api/fax/accounts/{id}/applications -v -u {name}:{password} -X GET",
10692 "name": "getApplications",
10693 "group": "Fax_Accounts",
10694 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10695 "version": "0.0.0",
10696 "filename": "server/api/faxAccount/index.js",
10697 "groupTitle": "Fax_Accounts"
10701 "url": "/api/fax/accounts/{id}/dispositions",
10702 "title": "Gets account dispositions",
10705 "title": "Example usage:",
10706 "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
10710 "name": "getDispositions",
10711 "group": "Fax_Accounts",
10712 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10713 "version": "0.0.0",
10714 "filename": "server/api/faxAccount/index.js",
10715 "groupTitle": "Fax_Accounts"
10719 "url": "/api/fax/accounts/{id}/interactions",
10720 "title": "Gets account interactions",
10723 "title": "Example usage:",
10724 "content": "curl https://{domain}/api/fax/accounts/{id}/interactions -v -u {name}:{password} -X GET",
10728 "name": "getInteraction",
10729 "group": "Fax_Accounts",
10730 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10731 "version": "0.0.0",
10732 "filename": "server/api/faxAccount/index.js",
10733 "groupTitle": "Fax_Accounts"
10737 "url": "/api/fax/accounts/{id}/messages",
10738 "title": "Gets account messages",
10741 "title": "Example usage:",
10742 "content": "curl https://{domain}/api/fax/accounts/{id}/messages -v -u {name}:{password} -X GET",
10746 "name": "getMessages",
10747 "group": "Fax_Accounts",
10748 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10749 "version": "0.0.0",
10750 "filename": "server/api/faxAccount/index.js",
10751 "groupTitle": "Fax_Accounts"
10755 "url": "/api/fax/accounts/{id}/send",
10756 "title": "Send new fax",
10759 "title": "Example usage:",
10760 "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",
10765 "group": "Fax_Accounts",
10766 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10767 "version": "0.0.0",
10768 "filename": "server/api/faxAccount/index.js",
10769 "groupTitle": "Fax_Accounts"
10773 "url": "/api/fax/accounts/{id}",
10774 "title": "Update an existing Account",
10777 "title": "Example usage:",
10778 "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",
10782 "name": "updateAccounts",
10783 "group": "Fax_Accounts",
10784 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10785 "version": "0.0.0",
10786 "filename": "server/api/faxAccount/index.js",
10787 "groupTitle": "Fax_Accounts"
10791 "url": "/api/fax/accounts/updateaccountapplications",
10792 "title": "Update account and applications",
10795 "title": "Example usage:",
10796 "content": "curl https://{domain}/api/fax/accounts/updateaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10800 "name": "updateApplications",
10801 "group": "Fax_Accounts",
10809 "field": "priority",
10823 "field": "appdata",
10830 "field": "description",
10837 "field": "interval",
10843 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10844 "version": "0.0.0",
10845 "filename": "server/api/faxAccount/index.js",
10846 "groupTitle": "Fax_Accounts"
10850 "url": "/api/fax/applications",
10851 "title": "Creates a new Application",
10854 "title": "Example usage:",
10855 "content": "curl https://{domain}/api/fax/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
10859 "name": "CreateApplications",
10860 "group": "Fax_Applications",
10868 "field": "priority",
10882 "field": "appdata",
10889 "field": "description",
10896 "field": "interval",
10902 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10903 "version": "0.0.0",
10904 "filename": "server/api/faxApplication/index.js",
10905 "groupTitle": "Fax_Applications"
10909 "url": "/api/fax/applications/{id}",
10910 "title": "Deletes a Application",
10913 "title": "Example usage:",
10914 "content": "curl https://{domain}/api/fax/applications/{id} -v -u {name}:{password} -X DELETE",
10918 "name": "DeleteApplications",
10919 "group": "Fax_Applications",
10920 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10921 "version": "0.0.0",
10922 "filename": "server/api/faxApplication/index.js",
10923 "groupTitle": "Fax_Applications"
10927 "url": "/api/fax/applications",
10928 "title": "Gets a list of Applications",
10931 "title": "Example usage:",
10932 "content": "curl https://{domain}/api/fax/applications -v -u {name}:{password}",
10936 "name": "GetApplications",
10937 "group": "Fax_Applications",
10938 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
10939 "version": "0.0.0",
10940 "filename": "server/api/faxApplication/index.js",
10941 "groupTitle": "Fax_Applications"
10945 "url": "/api/fax/applications/{id}",
10946 "title": "Gets a single Application",
10949 "title": "Example usage:",
10950 "content": "curl https://{domain}/api/fax/applications/{id} -v -u {name}:{password}",
10954 "name": "ShowApplications",
10955 "group": "Fax_Applications",
10956 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10957 "version": "0.0.0",
10958 "filename": "server/api/faxApplication/index.js",
10959 "groupTitle": "Fax_Applications"
10963 "url": "/api/fax/applications/{id}",
10964 "title": "Update an existing Application",
10967 "title": "Example usage:",
10968 "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",
10972 "name": "updateApplications",
10973 "group": "Fax_Applications",
10974 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10975 "version": "0.0.0",
10976 "filename": "server/api/faxApplication/index.js",
10977 "groupTitle": "Fax_Applications"
10981 "url": "/api/fax/interactions/{id}/tags",
10982 "title": "Add tags to the interaction",
10985 "title": "Example usage:",
10986 "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",
10991 "group": "Fax_Interactions",
10992 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10993 "version": "0.0.0",
10994 "filename": "server/api/faxInteraction/index.js",
10995 "groupTitle": "Fax_Interactions"
10999 "url": "/api/fax/interactions",
11000 "title": "Creates a new Interaction",
11003 "title": "Example usage:",
11004 "content": "curl https://{domain}/api/fax/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
11008 "name": "CreateInteractions",
11009 "group": "Fax_Interactions",
11024 "field": "closedAt",
11031 "field": "disposition",
11038 "field": "secondDisposition",
11045 "field": "thirdDisposition",
11059 "field": "read1stAt",
11077 "field": "firstMsgDirection",
11084 "field": "lastMsgAt",
11095 "field": "lastMsgDirection",
11101 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11102 "version": "0.0.0",
11103 "filename": "server/api/faxInteraction/index.js",
11104 "groupTitle": "Fax_Interactions"
11108 "url": "/api/fax/interactions/{id}",
11109 "title": "Deletes a Interaction",
11112 "title": "Example usage:",
11113 "content": "curl https://{domain}/api/fax/interactions/{id} -v -u {name}:{password} -X DELETE",
11117 "name": "DeleteInteractions",
11118 "group": "Fax_Interactions",
11119 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11120 "version": "0.0.0",
11121 "filename": "server/api/faxInteraction/index.js",
11122 "groupTitle": "Fax_Interactions"
11126 "url": "/api/fax/interactions/describe",
11127 "title": "Gets table info about Interactions",
11130 "title": "Example usage:",
11131 "content": "curl https://{domain}/api/fax/interactions/describe -v -u {name}:{password}",
11135 "name": "DescribeInteractions",
11136 "group": "Fax_Interactions",
11137 "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>",
11138 "version": "0.0.0",
11139 "filename": "server/api/faxInteraction/index.js",
11140 "groupTitle": "Fax_Interactions"
11144 "url": "/api/fax/interactions",
11145 "title": "Gets a list of Interactions",
11148 "title": "Example usage:",
11149 "content": "curl https://{domain}/api/fax/interactions -v -u {name}:{password}",
11153 "name": "GetInteractions",
11154 "group": "Fax_Interactions",
11155 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11156 "version": "0.0.0",
11157 "filename": "server/api/faxInteraction/index.js",
11158 "groupTitle": "Fax_Interactions"
11162 "url": "/api/fax/interactions/{id}/tags",
11163 "title": "Removes tags from interaction",
11166 "title": "Example usage:",
11167 "content": "curl https://{domain}/api/fax/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
11171 "name": "RemoveTags",
11172 "group": "Fax_Interactions",
11173 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11174 "version": "0.0.0",
11175 "filename": "server/api/faxInteraction/index.js",
11176 "groupTitle": "Fax_Interactions"
11180 "url": "/api/fax/interactions/{id}",
11181 "title": "Gets a single Interaction",
11184 "title": "Example usage:",
11185 "content": "curl https://{domain}/api/fax/interactions/{id} -v -u {name}:{password}",
11189 "name": "ShowInteractions",
11190 "group": "Fax_Interactions",
11191 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11192 "version": "0.0.0",
11193 "filename": "server/api/faxInteraction/index.js",
11194 "groupTitle": "Fax_Interactions"
11198 "url": "/api/fax/interactions/{id}/messages",
11199 "title": "Creates new messages",
11202 "title": "Example usage:",
11203 "content": "curl https://{domain}/api/fax/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
11207 "name": "addMessage",
11208 "group": "Fax_Interactions",
11234 "field": "direction",
11241 "field": "failMessage",
11254 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11255 "version": "0.0.0",
11256 "filename": "server/api/faxInteraction/index.js",
11257 "groupTitle": "Fax_Interactions"
11261 "url": "/api/fax/interactions/{id}/download",
11262 "title": "Get interactions",
11265 "title": "Example usage:",
11266 "content": "curl https://{domain}/api/fax/interactions/{id}/download -v -u {name}:{password} -X GET",
11270 "name": "download",
11271 "group": "Fax_Interactions",
11272 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11273 "version": "0.0.0",
11274 "filename": "server/api/faxInteraction/index.js",
11275 "groupTitle": "Fax_Interactions"
11279 "url": "/api/fax/interactions/{id}/messages",
11280 "title": "Gets interaction messages",
11283 "title": "Example usage:",
11284 "content": "curl https://{domain}/api/fax/interactions/{id}/messages -v -u {name}:{password} -X GET",
11288 "name": "getMessages",
11289 "group": "Fax_Interactions",
11290 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11291 "version": "0.0.0",
11292 "filename": "server/api/faxInteraction/index.js",
11293 "groupTitle": "Fax_Interactions"
11297 "url": "/api/fax/interactions/{id}",
11298 "title": "Update an existing Interaction",
11301 "title": "Example usage:",
11302 "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",
11306 "name": "updateInteractions",
11307 "group": "Fax_Interactions",
11308 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11309 "version": "0.0.0",
11310 "filename": "server/api/faxInteraction/index.js",
11311 "groupTitle": "Fax_Interactions"
11315 "url": "/api/fax/messages/{id}/download",
11316 "title": "Get message",
11319 "title": "Example usage:",
11320 "content": "curl https://{domain}/api/fax/messages/{id}/download -v -u {name}:{password} -X GET",
11324 "name": "download",
11325 "group": "Fax_Message",
11326 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11327 "version": "0.0.0",
11328 "filename": "server/api/faxMessage/index.js",
11329 "groupTitle": "Fax_Message"
11333 "url": "/api/fax/messages/{id}",
11334 "title": "Deletes a Message",
11337 "title": "Example usage:",
11338 "content": "curl https://{domain}/api/fax/messages/{id} -v -u {name}:{password} -X DELETE",
11342 "name": "DeleteMessages",
11343 "group": "Fax_Messages",
11344 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11345 "version": "0.0.0",
11346 "filename": "server/api/faxMessage/index.js",
11347 "groupTitle": "Fax_Messages"
11351 "url": "/api/fax/messages/describe",
11352 "title": "Gets table info about Messages",
11355 "title": "Example usage:",
11356 "content": "curl https://{domain}/api/fax/messages/describe -v -u {name}:{password}",
11360 "name": "DescribeMessages",
11361 "group": "Fax_Messages",
11362 "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>",
11363 "version": "0.0.0",
11364 "filename": "server/api/faxMessage/index.js",
11365 "groupTitle": "Fax_Messages"
11369 "url": "/api/fax/messages",
11370 "title": "Gets a list of Messages",
11373 "title": "Example usage:",
11374 "content": "curl https://{domain}/api/fax/messages -v -u {name}:{password}",
11378 "name": "GetMessages",
11379 "group": "Fax_Messages",
11380 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11381 "version": "0.0.0",
11382 "filename": "server/api/faxMessage/index.js",
11383 "groupTitle": "Fax_Messages"
11387 "url": "/api/fax/messages/{id}",
11388 "title": "Gets a single Message",
11391 "title": "Example usage:",
11392 "content": "curl https://{domain}/api/fax/messages/{id} -v -u {name}:{password}",
11396 "name": "ShowMessages",
11397 "group": "Fax_Messages",
11398 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11399 "version": "0.0.0",
11400 "filename": "server/api/faxMessage/index.js",
11401 "groupTitle": "Fax_Messages"
11405 "url": "/api/fax/messages/{id}/accept",
11406 "title": "Accepts message",
11409 "title": "Example usage:",
11410 "content": "curl https://{domain}/api/fax/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
11414 "name": "acceptMessage",
11415 "group": "Fax_Messages",
11416 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11417 "version": "0.0.0",
11418 "filename": "server/api/faxMessage/index.js",
11419 "groupTitle": "Fax_Messages"
11423 "url": "/api/fax/messages",
11424 "title": "Create message and send Fax",
11427 "title": "Example usage:",
11428 "content": "curl https://{domain}/api/fax/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
11432 "name": "rejectMessage",
11433 "group": "Fax_Messages",
11434 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11435 "version": "0.0.0",
11436 "filename": "server/api/faxMessage/index.js",
11437 "groupTitle": "Fax_Messages"
11441 "url": "/api/fax/messages/{id}/reject",
11442 "title": "Rejects message",
11445 "title": "Example usage:",
11446 "content": "curl https://{domain}/api/fax/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
11450 "name": "rejectMessage",
11451 "group": "Fax_Messages",
11452 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11453 "version": "0.0.0",
11454 "filename": "server/api/faxMessage/index.js",
11455 "groupTitle": "Fax_Messages"
11459 "url": "/api/fax/messages/{id}",
11460 "title": "Update an existing Message",
11463 "title": "Example usage:",
11464 "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",
11468 "name": "updateMessages",
11469 "group": "Fax_Messages",
11470 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11471 "version": "0.0.0",
11472 "filename": "server/api/faxMessage/index.js",
11473 "groupTitle": "Fax_Messages"
11477 "url": "/api/fax/reports/queue",
11478 "title": "Creates a new Fax Queue Report",
11481 "title": "Example usage:",
11482 "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",
11486 "name": "CreateFax_Queue_Reports",
11487 "group": "Fax_Queue_Reports",
11495 "field": "uniqueid",
11516 "field": "leaveAt",
11523 "field": "acceptAt",
11543 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11544 "version": "0.0.0",
11545 "filename": "server/api/faxQueueReport/index.js",
11546 "groupTitle": "Fax_Queue_Reports"
11550 "url": "/api/fax/reports/queue/{id}",
11551 "title": "Deletes a Fax Queue Report",
11554 "title": "Example usage:",
11555 "content": "curl https://{domain}/api/fax/reports/queue/{id} -v -u {name}:{password} -X DELETE",
11559 "name": "DeleteFax_Queue_Reports",
11560 "group": "Fax_Queue_Reports",
11561 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11562 "version": "0.0.0",
11563 "filename": "server/api/faxQueueReport/index.js",
11564 "groupTitle": "Fax_Queue_Reports"
11568 "url": "/api/fax/reports/queue/describe",
11569 "title": "Gets table info about Fax Queue Reports",
11572 "title": "Example usage:",
11573 "content": "curl https://{domain}/api/fax/reports/queue/describe -v -u {name}:{password}",
11577 "name": "DescribeFax_Queue_Reports",
11578 "group": "Fax_Queue_Reports",
11579 "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>",
11580 "version": "0.0.0",
11581 "filename": "server/api/faxQueueReport/index.js",
11582 "groupTitle": "Fax_Queue_Reports"
11586 "url": "/api/fax/reports/queue",
11587 "title": "Gets a list of Fax Queue Reports",
11590 "title": "Example usage:",
11591 "content": "curl https://{domain}/api/fax/reports/queue -v -u {name}:{password}",
11595 "name": "GetFax_Queue_Reports",
11596 "group": "Fax_Queue_Reports",
11597 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11598 "version": "0.0.0",
11599 "filename": "server/api/faxQueueReport/index.js",
11600 "groupTitle": "Fax_Queue_Reports"
11604 "url": "/api/fax/reports/queue/{id}",
11605 "title": "Gets a single Fax Queue Report",
11608 "title": "Example usage:",
11609 "content": "curl https://{domain}/api/fax/reports/queue/{id} -v -u {name}:{password}",
11613 "name": "ShowFax_Queue_Reports",
11614 "group": "Fax_Queue_Reports",
11615 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11616 "version": "0.0.0",
11617 "filename": "server/api/faxQueueReport/index.js",
11618 "groupTitle": "Fax_Queue_Reports"
11622 "url": "/api/fax/reports/queue/{id}",
11623 "title": "Update an existing Fax Queue Report",
11626 "title": "Example usage:",
11627 "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",
11631 "name": "updateFax_Queue_Reports",
11632 "group": "Fax_Queue_Reports",
11633 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11634 "version": "0.0.0",
11635 "filename": "server/api/faxQueueReport/index.js",
11636 "groupTitle": "Fax_Queue_Reports"
11640 "url": "/api/fax/queues/{id}/users",
11641 "title": "Add agents to a queue",
11644 "title": "Example usage:",
11645 "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",
11649 "name": "AddAgents",
11650 "group": "Fax_Queues",
11651 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11652 "version": "0.0.0",
11653 "filename": "server/api/faxQueue/index.js",
11654 "groupTitle": "Fax_Queues"
11658 "url": "/api/fax/queues/{id}/teams",
11659 "title": "Add teams to a queue",
11662 "title": "Example usage:",
11663 "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",
11667 "name": "AddTeams",
11668 "group": "Fax_Queues",
11669 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11670 "version": "0.0.0",
11671 "filename": "server/api/faxQueue/index.js",
11672 "groupTitle": "Fax_Queues"
11676 "url": "/api/fax/queues",
11677 "title": "Creates a new Queue",
11680 "title": "Example usage:",
11681 "content": "curl https://{domain}/api/fax/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
11685 "name": "CreateQueues",
11686 "group": "Fax_Queues",
11701 "field": "description",
11708 "field": "timeout",
11720 "field": "strategy",
11727 "field": "lastAgent",
11733 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11734 "version": "0.0.0",
11735 "filename": "server/api/faxQueue/index.js",
11736 "groupTitle": "Fax_Queues"
11740 "url": "/api/fax/queues/{id}",
11741 "title": "Deletes a Queue",
11744 "title": "Example usage:",
11745 "content": "curl https://{domain}/api/fax/queues/{id} -v -u {name}:{password} -X DELETE",
11749 "name": "DeleteQueues",
11750 "group": "Fax_Queues",
11751 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11752 "version": "0.0.0",
11753 "filename": "server/api/faxQueue/index.js",
11754 "groupTitle": "Fax_Queues"
11758 "url": "/api/fax/queues/describe",
11759 "title": "Gets table info about Queues",
11762 "title": "Example usage:",
11763 "content": "curl https://{domain}/api/fax/queues/describe -v -u {name}:{password}",
11767 "name": "DescribeQueues",
11768 "group": "Fax_Queues",
11769 "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>",
11770 "version": "0.0.0",
11771 "filename": "server/api/faxQueue/index.js",
11772 "groupTitle": "Fax_Queues"
11776 "url": "/api/fax/queues/{id}/users",
11777 "title": "Gets queue agents",
11780 "title": "Example usage:",
11781 "content": "curl https://{domain}/api/fax/queues/{id}/users -v -u {name}:{password} -X POST",
11785 "name": "GetAgents",
11786 "group": "Fax_Queues",
11787 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11788 "version": "0.0.0",
11789 "filename": "server/api/faxQueue/index.js",
11790 "groupTitle": "Fax_Queues"
11794 "url": "/api/fax/queues/{id}/members",
11795 "title": "GetMembers",
11798 "title": "Example usage:",
11799 "content": "curl https://{domain}/api/fax/queues/{id}/members -v -u {name}:{password}",
11803 "name": "GetMembers",
11804 "group": "Fax_Queues",
11805 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11806 "version": "0.0.0",
11807 "filename": "server/api/faxQueue/index.js",
11808 "groupTitle": "Fax_Queues"
11812 "url": "/api/fax/queues",
11813 "title": "Gets a list of Queues",
11816 "title": "Example usage:",
11817 "content": "curl https://{domain}/api/fax/queues -v -u {name}:{password}",
11821 "name": "GetQueues",
11822 "group": "Fax_Queues",
11823 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11824 "version": "0.0.0",
11825 "filename": "server/api/faxQueue/index.js",
11826 "groupTitle": "Fax_Queues"
11830 "url": "/api/fax/queues/{id}/teams",
11831 "title": "Gets queues list",
11834 "title": "Example usage:",
11835 "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password}",
11839 "name": "GetTeams",
11840 "group": "Fax_Queues",
11841 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11842 "version": "0.0.0",
11843 "filename": "server/api/faxQueue/index.js",
11844 "groupTitle": "Fax_Queues"
11848 "url": "/api/fax/queues/{id}/users",
11849 "title": "Removes agents from a queue",
11852 "title": "Example usage:",
11853 "content": "curl https://{domain}/api/fax/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
11857 "name": "RemoveAgents",
11858 "group": "Fax_Queues",
11859 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11860 "version": "0.0.0",
11861 "filename": "server/api/faxQueue/index.js",
11862 "groupTitle": "Fax_Queues"
11866 "url": "/api/fax/queues/{id}",
11867 "title": "Gets a single Queue",
11870 "title": "Example usage:",
11871 "content": "curl https://{domain}/api/fax/queues/{id} -v -u {name}:{password}",
11875 "name": "ShowQueues",
11876 "group": "Fax_Queues",
11877 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11878 "version": "0.0.0",
11879 "filename": "server/api/faxQueue/index.js",
11880 "groupTitle": "Fax_Queues"
11884 "url": "/api/fax/queues/{id}",
11885 "title": "Update an existing Queue",
11888 "title": "Example usage:",
11889 "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",
11893 "name": "updateQueues",
11894 "group": "Fax_Queues",
11895 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11896 "version": "0.0.0",
11897 "filename": "server/api/faxQueue/index.js",
11898 "groupTitle": "Fax_Queues"
11902 "url": "/api/fax/reports/transfer",
11903 "title": "Creates a new Fax Transfer Report",
11906 "title": "Example usage:",
11907 "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",
11911 "name": "CreateFax_Transfer_Reports",
11912 "group": "Fax_Transfer_Reports",
11920 "field": "uniqueid",
11939 "field": "transferredAt",
11945 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11946 "version": "0.0.0",
11947 "filename": "server/api/faxTransferReport/index.js",
11948 "groupTitle": "Fax_Transfer_Reports"
11952 "url": "/api/fax/reports/transfer/{id}",
11953 "title": "Deletes a Fax Transfer Report",
11956 "title": "Example usage:",
11957 "content": "curl https://{domain}/api/fax/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
11961 "name": "DeleteFax_Transfer_Reports",
11962 "group": "Fax_Transfer_Reports",
11963 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11964 "version": "0.0.0",
11965 "filename": "server/api/faxTransferReport/index.js",
11966 "groupTitle": "Fax_Transfer_Reports"
11970 "url": "/api/fax/reports/transfer/describe",
11971 "title": "Gets table info about Fax Transfer Reports",
11974 "title": "Example usage:",
11975 "content": "curl https://{domain}/api/fax/reports/transfer/describe -v -u {name}:{password}",
11979 "name": "DescribeFax_Transfer_Reports",
11980 "group": "Fax_Transfer_Reports",
11981 "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>",
11982 "version": "0.0.0",
11983 "filename": "server/api/faxTransferReport/index.js",
11984 "groupTitle": "Fax_Transfer_Reports"
11988 "url": "/api/fax/reports/transfer",
11989 "title": "Gets a list of Fax Transfer Reports",
11992 "title": "Example usage:",
11993 "content": "curl https://{domain}/api/fax/reports/transfer -v -u {name}:{password}",
11997 "name": "GetFax_Transfer_Reports",
11998 "group": "Fax_Transfer_Reports",
11999 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
12000 "version": "0.0.0",
12001 "filename": "server/api/faxTransferReport/index.js",
12002 "groupTitle": "Fax_Transfer_Reports"
12006 "url": "/api/fax/reports/transfer/{id}",
12007 "title": "Gets a single Fax Transfer Report",
12010 "title": "Example usage:",
12011 "content": "curl https://{domain}/api/fax/reports/transfer/{id} -v -u {name}:{password}",
12015 "name": "ShowFax_Transfer_Reports",
12016 "group": "Fax_Transfer_Reports",
12017 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12018 "version": "0.0.0",
12019 "filename": "server/api/faxTransferReport/index.js",
12020 "groupTitle": "Fax_Transfer_Reports"
12024 "url": "/api/fax/reports/transfer/{id}",
12025 "title": "Update an existing Fax Transfer Report",
12028 "title": "Example usage:",
12029 "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",
12033 "name": "updateFax_Transfer_Reports",
12034 "group": "Fax_Transfer_Reports",
12035 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12036 "version": "0.0.0",
12037 "filename": "server/api/faxTransferReport/index.js",
12038 "groupTitle": "Fax_Transfer_Reports"
12042 "url": "/api/integrations/freshdesk/accounts",
12043 "title": "Creates a new Freshdesk Account",
12046 "title": "Example usage:",
12047 "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",
12051 "name": "CreateFreshdesk_Accounts",
12052 "group": "Freshdesk_Accounts",
12067 "field": "description",
12074 "field": "username",
12088 "field": "remoteUri",
12095 "field": "serverUrl",
12101 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12102 "version": "0.0.0",
12103 "filename": "server/api/intFreshdeskAccount/index.js",
12104 "groupTitle": "Freshdesk_Accounts"
12108 "url": "/api/integrations/freshdesk/accounts/{id}",
12109 "title": "Deletes a Freshdesk Account",
12112 "title": "Example usage:",
12113 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id} -v -u {name}:{password} -X DELETE",
12117 "name": "DeleteFreshdesk_Accounts",
12118 "group": "Freshdesk_Accounts",
12119 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12120 "version": "0.0.0",
12121 "filename": "server/api/intFreshdeskAccount/index.js",
12122 "groupTitle": "Freshdesk_Accounts"
12126 "url": "/api/integrations/freshdesk/accounts",
12127 "title": "Gets a list of Freshdesk Accounts",
12130 "title": "Example usage:",
12131 "content": "curl https://{domain}/api/integrations/freshdesk/accounts -v -u {name}:{password}",
12135 "name": "GetFreshdesk_Accounts",
12136 "group": "Freshdesk_Accounts",
12137 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
12138 "version": "0.0.0",
12139 "filename": "server/api/intFreshdeskAccount/index.js",
12140 "groupTitle": "Freshdesk_Accounts"
12144 "url": "/api/integrations/freshdesk/accounts/{id}",
12145 "title": "Gets a single Freshdesk Account",
12148 "title": "Example usage:",
12149 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id} -v -u {name}:{password}",
12153 "name": "ShowFreshdesk_Accounts",
12154 "group": "Freshdesk_Accounts",
12155 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12156 "version": "0.0.0",
12157 "filename": "server/api/intFreshdeskAccount/index.js",
12158 "groupTitle": "Freshdesk_Accounts"
12162 "url": "/api/integrations/freshdesk/accounts/{id}/configurations",
12163 "title": "Creates new configuration",
12166 "title": "Example usage:",
12167 "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",
12171 "name": "addConfiguration",
12172 "group": "Freshdesk_Accounts",
12173 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12174 "version": "0.0.0",
12175 "filename": "server/api/intFreshdeskAccount/index.js",
12176 "groupTitle": "Freshdesk_Accounts"
12180 "url": "/api/integrations/freshdesk/accounts/{id}/configurations",
12181 "title": "Gets account configurations",
12184 "title": "Example usage:",
12185 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
12189 "name": "getConfigurations",
12190 "group": "Freshdesk_Accounts",
12191 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12192 "version": "0.0.0",
12193 "filename": "server/api/intFreshdeskAccount/index.js",
12194 "groupTitle": "Freshdesk_Accounts"
12198 "url": "/api/integrations/freshdesk/accounts/{id}/fields",
12199 "title": "Gets account fields",
12202 "title": "Example usage:",
12203 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id}/fields -v -u {name}:{password} -X GET",
12207 "name": "getFields",
12208 "group": "Freshdesk_Accounts",
12209 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12210 "version": "0.0.0",
12211 "filename": "server/api/intFreshdeskAccount/index.js",
12212 "groupTitle": "Freshdesk_Accounts"
12216 "url": "/api/integrations/freshdesk/accounts/{id}",
12217 "title": "Update an existing Freshdesk Account",
12220 "title": "Example usage:",
12221 "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",
12225 "name": "updateFreshdesk_Accounts",
12226 "group": "Freshdesk_Accounts",
12227 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12228 "version": "0.0.0",
12229 "filename": "server/api/intFreshdeskAccount/index.js",
12230 "groupTitle": "Freshdesk_Accounts"
12234 "url": "/api/integrations/freshdesk/configurations",
12235 "title": "Creates a new Freshdesk Configuration",
12238 "title": "Example usage:",
12239 "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",
12243 "name": "CreateFreshdesk_Configurations",
12244 "group": "Freshdesk_Configurations",
12259 "field": "description",
12265 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12266 "version": "0.0.0",
12267 "filename": "server/api/intFreshdeskConfiguration/index.js",
12268 "groupTitle": "Freshdesk_Configurations"
12272 "url": "/api/integrations/freshdesk/configurations/{id}",
12273 "title": "Deletes a Freshdesk Configuration",
12276 "title": "Example usage:",
12277 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id} -v -u {name}:{password} -X DELETE",
12281 "name": "DeleteFreshdesk_Configurations",
12282 "group": "Freshdesk_Configurations",
12283 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12284 "version": "0.0.0",
12285 "filename": "server/api/intFreshdeskConfiguration/index.js",
12286 "groupTitle": "Freshdesk_Configurations"
12290 "url": "/api/integrations/freshdesk/configurations",
12291 "title": "Gets a list of Freshdesk Configurations",
12294 "title": "Example usage:",
12295 "content": "curl https://{domain}/api/integrations/freshdesk/configurations -v -u {name}:{password}",
12299 "name": "GetFreshdesk_Configurations",
12300 "group": "Freshdesk_Configurations",
12301 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
12302 "version": "0.0.0",
12303 "filename": "server/api/intFreshdeskConfiguration/index.js",
12304 "groupTitle": "Freshdesk_Configurations"
12308 "url": "/api/integrations/freshdesk/configurations/{id}",
12309 "title": "Gets a single Freshdesk Configuration",
12312 "title": "Example usage:",
12313 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id} -v -u {name}:{password}",
12317 "name": "ShowFreshdesk_Configurations",
12318 "group": "Freshdesk_Configurations",
12319 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12320 "version": "0.0.0",
12321 "filename": "server/api/intFreshdeskConfiguration/index.js",
12322 "groupTitle": "Freshdesk_Configurations"
12326 "url": "/api/integrations/freshdesk/configurations/{id}/descriptions",
12327 "title": "Gets configurations descriptions",
12330 "title": "Example usage:",
12331 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
12335 "name": "getDescriptions",
12336 "group": "Freshdesk_Configurations",
12337 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12338 "version": "0.0.0",
12339 "filename": "server/api/intFreshdeskConfiguration/index.js",
12340 "groupTitle": "Freshdesk_Configurations"
12344 "url": "/api/integrations/freshdesk/configurations/{id}/fields",
12345 "title": "Gets configurations fields",
12348 "title": "Example usage:",
12349 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/fields -v -u {name}:{password} -X GET",
12353 "name": "getFields",
12354 "group": "Freshdesk_Configurations",
12355 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12356 "version": "0.0.0",
12357 "filename": "server/api/intFreshdeskConfiguration/index.js",
12358 "groupTitle": "Freshdesk_Configurations"
12362 "url": "/api/integrations/freshdesk/configurations/{id}/subjects",
12363 "title": "Gets configurations subjects",
12366 "title": "Example usage:",
12367 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
12371 "name": "getSubjects",
12372 "group": "Freshdesk_Configurations",
12373 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12374 "version": "0.0.0",
12375 "filename": "server/api/intFreshdeskConfiguration/index.js",
12376 "groupTitle": "Freshdesk_Configurations"
12380 "url": "/api/integrations/freshdesk/configurations/{id}/tags",
12381 "title": "Gets configurations tags",
12384 "title": "Example usage:",
12385 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/tags -v -u {name}:{password} -X GET",
12390 "group": "Freshdesk_Configurations",
12391 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12392 "version": "0.0.0",
12393 "filename": "server/api/intFreshdeskConfiguration/index.js",
12394 "groupTitle": "Freshdesk_Configurations"
12398 "url": "/api/integrations/freshdesk/configurations/{id}/tags",
12399 "title": "Sets new tags",
12402 "title": "Example usage:",
12403 "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",
12408 "group": "Freshdesk_Configurations",
12409 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12410 "version": "0.0.0",
12411 "filename": "server/api/intFreshdeskConfiguration/index.js",
12412 "groupTitle": "Freshdesk_Configurations"
12416 "url": "/api/integrations/freshdesk/configurations/{id}",
12417 "title": "Update an existing Freshdesk Configuration",
12420 "title": "Example usage:",
12421 "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",
12425 "name": "updateFreshdesk_Configurations",
12426 "group": "Freshdesk_Configurations",
12427 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12428 "version": "0.0.0",
12429 "filename": "server/api/intFreshdeskConfiguration/index.js",
12430 "groupTitle": "Freshdesk_Configurations"
12434 "url": "/api/integrations/freshdesk/fields",
12435 "title": "Creates a new Freshdesk Field",
12438 "title": "Example usage:",
12439 "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",
12443 "name": "CreateFreshdesk_Fields",
12444 "group": "Freshdesk_Fields",
12454 "\"customVariable\"",
12466 "field": "content",
12482 "\"customVariable\""
12485 "field": "keyType",
12492 "field": "keyContent",
12499 "field": "idField",
12506 "field": "nameField",
12513 "field": "customField",
12520 "field": "variableName",
12526 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12527 "version": "0.0.0",
12528 "filename": "server/api/intFreshdeskField/index.js",
12529 "groupTitle": "Freshdesk_Fields"
12533 "url": "/api/integrations/freshdesk/fields/{id}",
12534 "title": "Deletes a Freshdesk Field",
12537 "title": "Example usage:",
12538 "content": "curl https://{domain}/api/integrations/freshdesk/fields/{id} -v -u {name}:{password} -X DELETE",
12542 "name": "DeleteFreshdesk_Fields",
12543 "group": "Freshdesk_Fields",
12544 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12545 "version": "0.0.0",
12546 "filename": "server/api/intFreshdeskField/index.js",
12547 "groupTitle": "Freshdesk_Fields"
12551 "url": "/api/integrations/freshdesk/fields",
12552 "title": "Gets a list of Freshdesk Fields",
12555 "title": "Example usage:",
12556 "content": "curl https://{domain}/api/integrations/freshdesk/fields -v -u {name}:{password}",
12560 "name": "GetFreshdesk_Fields",
12561 "group": "Freshdesk_Fields",
12562 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
12563 "version": "0.0.0",
12564 "filename": "server/api/intFreshdeskField/index.js",
12565 "groupTitle": "Freshdesk_Fields"
12569 "url": "/api/integrations/freshdesk/fields/{id}",
12570 "title": "Gets a single Freshdesk Field",
12573 "title": "Example usage:",
12574 "content": "curl https://{domain}/api/integrations/freshdesk/fields/{id} -v -u {name}:{password}",
12578 "name": "ShowFreshdesk_Fields",
12579 "group": "Freshdesk_Fields",
12580 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12581 "version": "0.0.0",
12582 "filename": "server/api/intFreshdeskField/index.js",
12583 "groupTitle": "Freshdesk_Fields"
12587 "url": "/api/integrations/freshdesk/fields/{id}",
12588 "title": "Update an existing Freshdesk Field",
12591 "title": "Example usage:",
12592 "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",
12596 "name": "updateFreshdesk_Fields",
12597 "group": "Freshdesk_Fields",
12598 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12599 "version": "0.0.0",
12600 "filename": "server/api/intFreshdeskField/index.js",
12601 "groupTitle": "Freshdesk_Fields"
12605 "url": "/api/integrations/freshsales/accounts",
12606 "title": "Creates a new Freshsales Account",
12609 "title": "Example usage:",
12610 "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",
12614 "name": "CreateFreshsales_Accounts",
12615 "group": "Freshsales_Accounts",
12630 "field": "description",
12637 "field": "username",
12651 "field": "remoteUri",
12658 "field": "serverUrl",
12664 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12665 "version": "0.0.0",
12666 "filename": "server/api/intFreshsalesAccount/index.js",
12667 "groupTitle": "Freshsales_Accounts"
12671 "url": "/api/integrations/freshsales/accounts/{id}",
12672 "title": "Deletes a Freshsales Account",
12675 "title": "Example usage:",
12676 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id} -v -u {name}:{password} -X DELETE",
12680 "name": "DeleteFreshsales_Accounts",
12681 "group": "Freshsales_Accounts",
12682 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12683 "version": "0.0.0",
12684 "filename": "server/api/intFreshsalesAccount/index.js",
12685 "groupTitle": "Freshsales_Accounts"
12689 "url": "/api/integrations/freshsales/accounts",
12690 "title": "Gets a list of Freshsales Accounts",
12693 "title": "Example usage:",
12694 "content": "curl https://{domain}/api/integrations/freshsales/accounts -v -u {name}:{password}",
12698 "name": "GetFreshsales_Accounts",
12699 "group": "Freshsales_Accounts",
12700 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
12701 "version": "0.0.0",
12702 "filename": "server/api/intFreshsalesAccount/index.js",
12703 "groupTitle": "Freshsales_Accounts"
12707 "url": "/api/integrations/freshsales/accounts/{id}",
12708 "title": "Gets a single Freshsales Account",
12711 "title": "Example usage:",
12712 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id} -v -u {name}:{password}",
12716 "name": "ShowFreshsales_Accounts",
12717 "group": "Freshsales_Accounts",
12718 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12719 "version": "0.0.0",
12720 "filename": "server/api/intFreshsalesAccount/index.js",
12721 "groupTitle": "Freshsales_Accounts"
12725 "url": "/api/integrations/freshsales/accounts/{id}/configurations",
12726 "title": "Creates new configuration",
12729 "title": "Example usage:",
12730 "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",
12734 "name": "addConfiguration",
12735 "group": "Freshsales_Accounts",
12736 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12737 "version": "0.0.0",
12738 "filename": "server/api/intFreshsalesAccount/index.js",
12739 "groupTitle": "Freshsales_Accounts"
12743 "url": "/api/integrations/freshsales/accounts/{id}/configurations",
12744 "title": "Gets account configurations",
12747 "title": "Example usage:",
12748 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id}/configurations -v -u {name}:{password} -X GET",
12752 "name": "getConfigurations",
12753 "group": "Freshsales_Accounts",
12754 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12755 "version": "0.0.0",
12756 "filename": "server/api/intFreshsalesAccount/index.js",
12757 "groupTitle": "Freshsales_Accounts"
12761 "url": "/api/integrations/freshsales/accounts/{id}/fields",
12762 "title": "Gets account fields",
12765 "title": "Example usage:",
12766 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id}/fields -v -u {name}:{password} -X GET",
12770 "name": "getFields",
12771 "group": "Freshsales_Accounts",
12772 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12773 "version": "0.0.0",
12774 "filename": "server/api/intFreshsalesAccount/index.js",
12775 "groupTitle": "Freshsales_Accounts"
12779 "url": "/api/integrations/freshsales/accounts/{id}",
12780 "title": "Update an existing Freshsales Account",
12783 "title": "Example usage:",
12784 "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",
12788 "name": "updateFreshsales_Accounts",
12789 "group": "Freshsales_Accounts",
12790 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12791 "version": "0.0.0",
12792 "filename": "server/api/intFreshsalesAccount/index.js",
12793 "groupTitle": "Freshsales_Accounts"
12797 "url": "/api/integrations/freshsales/configurations",
12798 "title": "Creates a new Freshsales Configuration",
12801 "title": "Example usage:",
12802 "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",
12806 "name": "CreateFreshsales_Configurations",
12807 "group": "Freshsales_Configurations",
12822 "field": "description",
12828 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12829 "version": "0.0.0",
12830 "filename": "server/api/intFreshsalesConfiguration/index.js",
12831 "groupTitle": "Freshsales_Configurations"
12835 "url": "/api/integrations/freshsales/configurations/{id}",
12836 "title": "Deletes a Freshsales Configuration",
12839 "title": "Example usage:",
12840 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id} -v -u {name}:{password} -X DELETE",
12844 "name": "DeleteFreshsales_Configurations",
12845 "group": "Freshsales_Configurations",
12846 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12847 "version": "0.0.0",
12848 "filename": "server/api/intFreshsalesConfiguration/index.js",
12849 "groupTitle": "Freshsales_Configurations"
12853 "url": "/api/integrations/freshsales/configurations",
12854 "title": "Gets a list of Freshsales Configurations",
12857 "title": "Example usage:",
12858 "content": "curl https://{domain}/api/integrations/freshsales/configurations -v -u {name}:{password}",
12862 "name": "GetFreshsales_Configurations",
12863 "group": "Freshsales_Configurations",
12864 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
12865 "version": "0.0.0",
12866 "filename": "server/api/intFreshsalesConfiguration/index.js",
12867 "groupTitle": "Freshsales_Configurations"
12871 "url": "/api/integrations/freshsales/configurations/{id}",
12872 "title": "Gets a single Freshsales Configuration",
12875 "title": "Example usage:",
12876 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id} -v -u {name}:{password}",
12880 "name": "ShowFreshsales_Configurations",
12881 "group": "Freshsales_Configurations",
12882 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12883 "version": "0.0.0",
12884 "filename": "server/api/intFreshsalesConfiguration/index.js",
12885 "groupTitle": "Freshsales_Configurations"
12889 "url": "/api/integrations/freshsales/configurations/{id}/descriptions",
12890 "title": "Gets configurations descriptions",
12893 "title": "Example usage:",
12894 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
12898 "name": "getDescriptions",
12899 "group": "Freshsales_Configurations",
12900 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12901 "version": "0.0.0",
12902 "filename": "server/api/intFreshsalesConfiguration/index.js",
12903 "groupTitle": "Freshsales_Configurations"
12907 "url": "/api/integrations/freshsales/configurations/{id}/fields",
12908 "title": "Gets configurations fields",
12911 "title": "Example usage:",
12912 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/fields -v -u {name}:{password} -X GET",
12916 "name": "getFields",
12917 "group": "Freshsales_Configurations",
12918 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12919 "version": "0.0.0",
12920 "filename": "server/api/intFreshsalesConfiguration/index.js",
12921 "groupTitle": "Freshsales_Configurations"
12925 "url": "/api/integrations/freshsales/configurations/{id}/subjects",
12926 "title": "Gets configurations subjects",
12929 "title": "Example usage:",
12930 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/subjects -v -u {name}:{password} -X GET",
12934 "name": "getSubjects",
12935 "group": "Freshsales_Configurations",
12936 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12937 "version": "0.0.0",
12938 "filename": "server/api/intFreshsalesConfiguration/index.js",
12939 "groupTitle": "Freshsales_Configurations"
12943 "url": "/api/integrations/freshsales/configurations/{id}",
12944 "title": "Update an existing Freshsales Configuration",
12947 "title": "Example usage:",
12948 "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",
12952 "name": "updateFreshsales_Configurations",
12953 "group": "Freshsales_Configurations",
12954 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12955 "version": "0.0.0",
12956 "filename": "server/api/intFreshsalesConfiguration/index.js",
12957 "groupTitle": "Freshsales_Configurations"
12961 "url": "/api/integrations/freshsales/fields",
12962 "title": "Creates a new Freshsales Field",
12965 "title": "Example usage:",
12966 "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",
12970 "name": "CreateFreshsales_Fields",
12971 "group": "Freshsales_Fields",
12981 "\"customVariable\"",
12993 "field": "content",
13009 "\"customVariable\""
13012 "field": "keyType",
13019 "field": "keyContent",
13026 "field": "idField",
13033 "field": "nameField",
13040 "field": "customField",
13047 "field": "variableName",
13053 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13054 "version": "0.0.0",
13055 "filename": "server/api/intFreshsalesField/index.js",
13056 "groupTitle": "Freshsales_Fields"
13060 "url": "/api/integrations/freshsales/fields/{id}",
13061 "title": "Deletes a Freshsales Field",
13064 "title": "Example usage:",
13065 "content": "curl https://{domain}/api/integrations/freshsales/fields/{id} -v -u {name}:{password} -X DELETE",
13069 "name": "DeleteFreshsales_Fields",
13070 "group": "Freshsales_Fields",
13071 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13072 "version": "0.0.0",
13073 "filename": "server/api/intFreshsalesField/index.js",
13074 "groupTitle": "Freshsales_Fields"
13078 "url": "/api/integrations/freshsales/fields",
13079 "title": "Gets a list of Freshsales Fields",
13082 "title": "Example usage:",
13083 "content": "curl https://{domain}/api/integrations/freshsales/fields -v -u {name}:{password}",
13087 "name": "GetFreshsales_Fields",
13088 "group": "Freshsales_Fields",
13089 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
13090 "version": "0.0.0",
13091 "filename": "server/api/intFreshsalesField/index.js",
13092 "groupTitle": "Freshsales_Fields"
13096 "url": "/api/integrations/freshsales/fields/{id}",
13097 "title": "Gets a single Freshsales Field",
13100 "title": "Example usage:",
13101 "content": "curl https://{domain}/api/integrations/freshsales/fields/{id} -v -u {name}:{password}",
13105 "name": "ShowFreshsales_Fields",
13106 "group": "Freshsales_Fields",
13107 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13108 "version": "0.0.0",
13109 "filename": "server/api/intFreshsalesField/index.js",
13110 "groupTitle": "Freshsales_Fields"
13114 "url": "/api/integrations/freshsales/fields/{id}",
13115 "title": "Update an existing Freshsales Field",
13118 "title": "Example usage:",
13119 "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",
13123 "name": "updateFreshsales_Fields",
13124 "group": "Freshsales_Fields",
13125 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13126 "version": "0.0.0",
13127 "filename": "server/api/intFreshsalesField/index.js",
13128 "groupTitle": "Freshsales_Fields"
13132 "url": "/api/campaigns/{id}/blacklists",
13133 "title": "Add blacklists to an IVR campaign",
13136 "title": "Example usage:",
13137 "content": "curl https://{domain}/api/campaigns/{id}/blacklists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
13141 "name": "AddBlackLists",
13142 "group": "IVR_Campaigns",
13143 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13144 "version": "0.0.0",
13145 "filename": "server/api/campaign/index.js",
13146 "groupTitle": "IVR_Campaigns"
13150 "url": "/api/campaigns/{id}/lists",
13151 "title": "Add lists to an IVR campaign",
13154 "title": "Example usage:",
13155 "content": "curl https://{domain}/api/campaigns/{id}/lists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
13159 "name": "AddLists",
13160 "group": "IVR_Campaigns",
13161 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13162 "version": "0.0.0",
13163 "filename": "server/api/campaign/index.js",
13164 "groupTitle": "IVR_Campaigns"
13168 "url": "/api/campaigns/clone",
13169 "title": "Clone an existing IVR Campaign",
13172 "title": "Example usage:",
13173 "content": "curl https://{domain}/api/campaigns/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13177 "name": "CloneIVR_Campaigns",
13178 "group": "IVR_Campaigns",
13179 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13180 "version": "0.0.0",
13181 "filename": "server/api/campaign/index.js",
13182 "groupTitle": "IVR_Campaigns"
13186 "url": "/api/campaigns",
13187 "title": "Creates a new IVR Campaign",
13190 "title": "Example usage:",
13191 "content": "curl https://{domain}/api/campaigns -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13195 "name": "CreateIVR_Campaigns",
13196 "group": "IVR_Campaigns",
13221 "field": "description",
13229 "description": "<p>Active/Disactive Campaign</p>"
13235 "field": "limitCalls",
13236 "description": "<p>Max 200 calls.</p>"
13242 "field": "dialOriginateCallerIdName",
13249 "field": "dialOriginateCallerIdNumber",
13256 "field": "dialOriginateTimeout",
13257 "description": "<p>Originate Timeout Seconds (min:1, max:999)</p>"
13263 "field": "dialCongestionMaxRetry",
13264 "description": "<p>#Congestion Retry (min:1, max:999)</p>"
13270 "field": "dialCongestionRetryFrequency",
13271 "description": "<p>Congestion Retry Frequency Minutes (min:1, max:99999)</p>"
13277 "field": "dialBusyMaxRetry",
13278 "description": "<p>#Busy Retry (min:1, max:999)</p>"
13284 "field": "dialBusyRetryFrequency",
13285 "description": "<p>Busy Retry Frequency Minutes (min:1, max:99999)</p>"
13291 "field": "dialNoAnswerMaxRetry",
13292 "description": "<p>#NoAnswer Retry (min:1, max:999)</p>"
13298 "field": "dialNoAnswerRetryFrequency",
13299 "description": "<p>NoAnswer Retry Frequency Minutes (min:1, max:99999)</p>"
13305 "field": "dialGlobalMaxRetry",
13306 "description": "<p>#Global Max Retry (min:1, max:999)</p>"
13312 "field": "dialTimezone",
13319 "field": "dialGlobalInterval",
13331 "field": "dialCheckDuplicateType",
13338 "field": "dialAMDActive",
13339 "description": "<p>Active/Disactive AMD</p>"
13345 "field": "dialAMDInitialSilence",
13346 "description": "<p>#AMD Initial Silence</p>"
13352 "field": "dialAMDGreeting",
13353 "description": "<p>#AMD Greeting</p>"
13359 "field": "dialAMDAfterGreetingSilence",
13360 "description": "<p>#AMD After Greeting Silence</p>"
13366 "field": "dialAMDTotalAnalysisTime",
13367 "description": "<p>#AMD Total Analysis Time</p>"
13373 "field": "dialAMDMinWordLength",
13374 "description": "<p>#AMD Min Word Length</p>"
13380 "field": "dialAMDBetweenWordsSilence",
13381 "description": "<p>#AMD Between Words Silence</p>"
13387 "field": "dialAMDMaximumNumberOfWords",
13388 "description": "<p>#AMD Maximum Number Of Words</p>"
13394 "field": "dialAMDSilenceThreshold",
13395 "description": "<p>#AMD Silence Threshold (min:0, max:32767)</p>"
13401 "field": "dialAMDMaximumWordLength",
13402 "description": "<p>#AMD Maximum Word Length</p>"
13412 "field": "dialOrderByScheduledAt",
13419 "field": "dialPrefix",
13426 "field": "dialRandomLastDigitCallerIdNumber",
13427 "description": "<p>Random Last Digit (min:1, max:15)</p>"
13433 "field": "dialCutDigit",
13434 "description": "<p>Cut Digit (min:1, max:15)</p>"
13440 "field": "dialNoSuchNumberMaxRetry",
13441 "description": "<p>#NoSuchNumber Retry (min:1, max:999)</p>"
13447 "field": "dialNoSuchNumberRetryFrequency",
13448 "description": "<p>NoSuchNumber Retry Frequency Minutes (min:1, max:99999)</p>"
13454 "field": "dialDropMaxRetry",
13455 "description": "<p>#Drop Retry (min:1, max:999)</p>"
13461 "field": "dialDropRetryFrequency",
13462 "description": "<p>Drop Retry Frequency Minutes (min:1, max:99999)</p>"
13468 "field": "dialAbandonedMaxRetry",
13469 "description": "<p>#Abandoned Retry (min:1, max:999)</p>"
13475 "field": "dialAbandonedRetryFrequency",
13476 "description": "<p>Abandoned Retry Frequency Minutes (min:1, max:99999)</p>"
13482 "field": "dialMachineMaxRetry",
13483 "description": "<p>#Machine Retry (min:1, max:999)</p>"
13489 "field": "dialMachineRetryFrequency",
13490 "description": "<p>Machine Retry Frequency Minutes (min:1, max:99999)</p>"
13496 "field": "dialAgentRejectMaxRetry",
13497 "description": "<p>#AgentReject Retry (min:1, max:999)</p>"
13503 "field": "dialAgentRejectRetryFrequency",
13504 "description": "<p>AgentReject Retry Frequency Minutes (min:1, max:99999)</p>"
13509 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13510 "version": "0.0.0",
13511 "filename": "server/api/campaign/index.js",
13512 "groupTitle": "IVR_Campaigns"
13516 "url": "/api/campaigns/{id}",
13517 "title": "Deletes a IVR Campaign",
13520 "title": "Example usage:",
13521 "content": "curl https://{domain}/api/campaigns/{id} -v -u {name}:{password} -X DELETE",
13525 "name": "DeleteIVR_Campaigns",
13526 "group": "IVR_Campaigns",
13527 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13528 "version": "0.0.0",
13529 "filename": "server/api/campaign/index.js",
13530 "groupTitle": "IVR_Campaigns"
13534 "url": "/api/campaigns/{id}/blacklists",
13535 "title": "Get IVR campaign blacklists",
13538 "title": "Example usage:",
13539 "content": "curl https://{domain}/api/campaigns/{id}/blacklists -v -u {name}:{password} -X GET",
13543 "name": "GetBlackLists",
13544 "group": "IVR_Campaigns",
13545 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13546 "version": "0.0.0",
13547 "filename": "server/api/campaign/index.js",
13548 "groupTitle": "IVR_Campaigns"
13552 "url": "/api/campaigns/{id}/finals",
13553 "title": "Gets IVR campaign hopper finals",
13556 "title": "Example usage:",
13557 "content": "curl https://{domain}/api/campaigns/{id}/hopper_finals -v -u {name}:{password} -X GET",
13561 "name": "GetHopperFinals",
13562 "group": "IVR_Campaigns",
13563 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13564 "version": "0.0.0",
13565 "filename": "server/api/campaign/index.js",
13566 "groupTitle": "IVR_Campaigns"
13570 "url": "/api/campaigns/{id}/hopper_histories",
13571 "title": "Gets IVR campaign hopper histories",
13574 "title": "Example usage:",
13575 "content": "curl https://{domain}/api/campaigns/{id}/hopper_histories -v -u {name}:{password} -X GET",
13579 "name": "GetHopperHistories",
13580 "group": "IVR_Campaigns",
13581 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13582 "version": "0.0.0",
13583 "filename": "server/api/campaign/index.js",
13584 "groupTitle": "IVR_Campaigns"
13588 "url": "/api/campaigns/{id}/hoppers",
13589 "title": "Gets IVR campaign hoppers",
13592 "title": "Example usage:",
13593 "content": "curl https://{domain}/api/campaigns/{id}/hoppers -v -u {name}:{password} -X GET",
13597 "name": "GetHoppers",
13598 "group": "IVR_Campaigns",
13599 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13600 "version": "0.0.0",
13601 "filename": "server/api/campaign/index.js",
13602 "groupTitle": "IVR_Campaigns"
13606 "url": "/api/campaigns",
13607 "title": "Gets a list of IVR Campaigns",
13610 "title": "Example usage:",
13611 "content": "curl https://{domain}/api/campaigns -v -u {name}:{password}",
13615 "name": "GetIVR_Campaigns",
13616 "group": "IVR_Campaigns",
13617 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
13618 "version": "0.0.0",
13619 "filename": "server/api/campaign/index.js",
13620 "groupTitle": "IVR_Campaigns"
13624 "url": "/api/campaigns/{id}/lists",
13625 "title": "Get IVR campaign lists",
13628 "title": "Example usage:",
13629 "content": "curl https://{domain}/api/campaigns/{id}/lists -v -u {name}:{password} -X GET",
13633 "name": "GetLists",
13634 "group": "IVR_Campaigns",
13635 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13636 "version": "0.0.0",
13637 "filename": "server/api/campaign/index.js",
13638 "groupTitle": "IVR_Campaigns"
13642 "url": "/api/campaigns/{id}/blacklists",
13643 "title": "Remove blacklists from an IVR Campaign",
13646 "title": "Example usage:",
13647 "content": "curl https://{domain}/api/campaigns/{id}/blacklists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
13651 "name": "RemoveBlackLists",
13652 "group": "IVR_Campaigns",
13653 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13654 "version": "0.0.0",
13655 "filename": "server/api/campaign/index.js",
13656 "groupTitle": "IVR_Campaigns"
13660 "url": "/api/campaigns/{id}/lists",
13661 "title": "Remove lists from an IVR Campaign",
13664 "title": "Example usage:",
13665 "content": "curl https://{domain}/api/campaigns/{id}/lists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
13669 "name": "RemoveLists",
13670 "group": "IVR_Campaigns",
13671 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13672 "version": "0.0.0",
13673 "filename": "server/api/campaign/index.js",
13674 "groupTitle": "IVR_Campaigns"
13678 "url": "/api/campaigns/{id}",
13679 "title": "Gets a single IVR Campaign",
13682 "title": "Example usage:",
13683 "content": "curl https://{domain}/api/campaigns/{id} -v -u {name}:{password}",
13687 "name": "ShowIVR_Campaigns",
13688 "group": "IVR_Campaigns",
13689 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13690 "version": "0.0.0",
13691 "filename": "server/api/campaign/index.js",
13692 "groupTitle": "IVR_Campaigns"
13696 "url": "/api/campaigns/{id}/blacks",
13697 "title": "Gets IVR campaign hopper blacks",
13700 "title": "Example usage:",
13701 "content": "curl https://{domain}/api/campaigns/{id}/hopper_black -v -u {name}:{password} -X GET",
13705 "name": "getHopperBlacks",
13706 "group": "IVR_Campaigns",
13707 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13708 "version": "0.0.0",
13709 "filename": "server/api/campaign/index.js",
13710 "groupTitle": "IVR_Campaigns"
13714 "url": "/api/campaigns/{id}",
13715 "title": "Update an existing IVR Campaign",
13718 "title": "Example usage:",
13719 "content": "curl https://{domain}/api/campaigns/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
13723 "name": "updateIVR_Campaigns",
13724 "group": "IVR_Campaigns",
13725 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13726 "version": "0.0.0",
13727 "filename": "server/api/campaign/index.js",
13728 "groupTitle": "IVR_Campaigns"
13732 "url": "/api/integrations/reports",
13733 "title": "Creates a new Integration Report",
13736 "title": "Example usage:",
13737 "content": "curl https://{domain}/api/integrations/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13741 "name": "CreateIntegration_Reports",
13742 "group": "Integration_Reports",
13750 "field": "integration",
13757 "field": "eventChannel",
13764 "field": "exitStatus",
13771 "field": "ticketId",
13778 "field": "integrationId",
13785 "field": "contacts",
13792 "field": "uniqueid",
13799 "field": "calleridnum",
13806 "field": "calleridname",
13820 "field": "interface",
13827 "field": "membername",
13834 "field": "agentcalledAt",
13841 "field": "agentconnectAt",
13848 "field": "holdtime",
13855 "field": "agentcomplete",
13862 "field": "agentcompleteAt",
13869 "field": "talktime",
13876 "field": "agentacw",
13883 "field": "acwtime",
13897 "field": "agentringnoanswer",
13904 "field": "agentringnoanswerAt",
13911 "field": "agentdump",
13918 "field": "agentdumpAt",
13925 "field": "lastevent",
13932 "field": "channel",
13939 "field": "channelstate",
13946 "field": "channelstatedesc",
13953 "field": "connectedlinenum",
13960 "field": "connectedlinename",
13967 "field": "language",
13974 "field": "accountcode",
13981 "field": "context",
13995 "field": "priority",
14002 "field": "destchannel",
14009 "field": "destchannelstate",
14016 "field": "destchannelstatedesc",
14023 "field": "destcalleridnum",
14030 "field": "destcalleridname",
14037 "field": "destconnectedlinenum",
14044 "field": "destconnectedlinename",
14051 "field": "destlanguage",
14058 "field": "destaccountcode",
14065 "field": "destcontext",
14072 "field": "destexten",
14079 "field": "destpriority",
14086 "field": "destuniqueid",
14093 "field": "messageId",
14100 "field": "inReplyTo",
14107 "field": "subject",
14135 "field": "attachment",
14183 "field": "appdata",
14190 "field": "projectId",
14196 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14197 "version": "0.0.0",
14198 "filename": "server/api/integrationReport/index.js",
14199 "groupTitle": "Integration_Reports"
14203 "url": "/api/integrations/reports/{id}",
14204 "title": "Deletes a Integration Report",
14207 "title": "Example usage:",
14208 "content": "curl https://{domain}/api/integrations/reports/{id} -v -u {name}:{password} -X DELETE",
14212 "name": "DeleteIntegration_Reports",
14213 "group": "Integration_Reports",
14214 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14215 "version": "0.0.0",
14216 "filename": "server/api/integrationReport/index.js",
14217 "groupTitle": "Integration_Reports"
14221 "url": "/api/integrations/reports/describe",
14222 "title": "Gets table info about Integration Reports",
14225 "title": "Example usage:",
14226 "content": "curl https://{domain}/api/integrations/reports/describe -v -u {name}:{password}",
14230 "name": "DescribeIntegration_Reports",
14231 "group": "Integration_Reports",
14232 "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>",
14233 "version": "0.0.0",
14234 "filename": "server/api/integrationReport/index.js",
14235 "groupTitle": "Integration_Reports"
14239 "url": "/api/integrations/reports",
14240 "title": "Gets a list of Integration Reports",
14243 "title": "Example usage:",
14244 "content": "curl https://{domain}/api/integrations/reports -v -u {name}:{password}",
14248 "name": "GetIntegration_Reports",
14249 "group": "Integration_Reports",
14250 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
14251 "version": "0.0.0",
14252 "filename": "server/api/integrationReport/index.js",
14253 "groupTitle": "Integration_Reports"
14257 "url": "/api/integrations/reports/{id}",
14258 "title": "Gets a single Integration Report",
14261 "title": "Example usage:",
14262 "content": "curl https://{domain}/api/integrations/reports/{id} -v -u {name}:{password}",
14266 "name": "ShowIntegration_Reports",
14267 "group": "Integration_Reports",
14268 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14269 "version": "0.0.0",
14270 "filename": "server/api/integrationReport/index.js",
14271 "groupTitle": "Integration_Reports"
14275 "url": "/api/integrations/reports/{id}",
14276 "title": "Update an existing Integration Report",
14279 "title": "Example usage:",
14280 "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",
14284 "name": "updateIntegration_Reports",
14285 "group": "Integration_Reports",
14286 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14287 "version": "0.0.0",
14288 "filename": "server/api/integrationReport/index.js",
14289 "groupTitle": "Integration_Reports"
14293 "url": "/api/intervals",
14294 "title": "Creates a new Interval",
14297 "title": "Example usage:",
14298 "content": "curl https://{domain}/api/intervals -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
14302 "name": "CreateIntervals",
14303 "group": "Intervals",
14318 "field": "description",
14325 "field": "interval",
14331 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14332 "version": "0.0.0",
14333 "filename": "server/api/interval/index.js",
14334 "groupTitle": "Intervals"
14338 "url": "/api/intervals/{id}",
14339 "title": "Deletes a Interval",
14342 "title": "Example usage:",
14343 "content": "curl https://{domain}/api/intervals/{id} -v -u {name}:{password} -X DELETE",
14347 "name": "DeleteIntervals",
14348 "group": "Intervals",
14349 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14350 "version": "0.0.0",
14351 "filename": "server/api/interval/index.js",
14352 "groupTitle": "Intervals"
14356 "url": "/api/intervals",
14357 "title": "Gets a list of Intervals",
14360 "title": "Example usage:",
14361 "content": "curl https://{domain}/api/intervals -v -u {name}:{password}",
14365 "name": "GetIntervals",
14366 "group": "Intervals",
14367 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
14368 "version": "0.0.0",
14369 "filename": "server/api/interval/index.js",
14370 "groupTitle": "Intervals"
14374 "url": "/api/intervals/{id}",
14375 "title": "Gets a single Interval",
14378 "title": "Example usage:",
14379 "content": "curl https://{domain}/api/intervals/{id} -v -u {name}:{password}",
14383 "name": "ShowIntervals",
14384 "group": "Intervals",
14385 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14386 "version": "0.0.0",
14387 "filename": "server/api/interval/index.js",
14388 "groupTitle": "Intervals"
14392 "url": "/api/intervals/{id}/sub_intervals",
14393 "title": "Creates a new sub interval",
14396 "title": "Example usage:",
14397 "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",
14401 "name": "addInterval",
14402 "group": "Intervals",
14403 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14404 "version": "0.0.0",
14405 "filename": "server/api/interval/index.js",
14406 "groupTitle": "Intervals"
14410 "url": "/api/intervals/{id}/sub_intervals/create_many",
14411 "title": "Create new sub intervals set",
14414 "title": "Example usage:",
14415 "content": "curl https://{domain}/api/intervals/{id}/sub_intervals -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
14419 "name": "addIntervals",
14420 "group": "Intervals",
14421 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14422 "version": "0.0.0",
14423 "filename": "server/api/interval/index.js",
14424 "groupTitle": "Intervals"
14428 "url": "/api/intervals/{id}/sub_intervals",
14429 "title": "Get sub intervals set",
14432 "title": "Example usage:",
14433 "content": "curl https://{domain}/api/intervals/{id}/sub_intervals -v -u {name}:{password} -X GET",
14437 "name": "getIntervals",
14438 "group": "Intervals",
14439 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14440 "version": "0.0.0",
14441 "filename": "server/api/interval/index.js",
14442 "groupTitle": "Intervals"
14446 "url": "/api/intervals/{id}",
14447 "title": "Update an existing Interval",
14450 "title": "Example usage:",
14451 "content": "curl https://{domain}/api/intervals/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
14455 "name": "updateIntervals",
14456 "group": "Intervals",
14457 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14458 "version": "0.0.0",
14459 "filename": "server/api/interval/index.js",
14460 "groupTitle": "Intervals"
14464 "url": "/api/jira",
14465 "title": "Creates a new issue",
14468 "title": "Example usage:",
14469 "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}",
14473 "name": "Creates_Issue",
14485 "field": "issuetype",
14492 "field": "summary",
14499 "field": "description",
14505 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14506 "version": "0.0.0",
14507 "filename": "server/api/jira/index.js",
14508 "groupTitle": "Issue"
14512 "url": "/api/jscripty/answers/reports",
14513 "title": "Creates a new Report",
14516 "title": "Example usage:",
14517 "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",
14521 "name": "CreateReports",
14522 "group": "JscriptyAnswerReport",
14530 "field": "question",
14544 "field": "membername",
14551 "field": "projectname",
14565 "field": "uniqueid",
14572 "field": "calleridname",
14579 "field": "calleridnum",
14586 "field": "questionId",
14592 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14593 "version": "0.0.0",
14594 "filename": "server/api/jscriptyAnswerReport/index.js",
14595 "groupTitle": "JscriptyAnswerReport"
14599 "url": "/api/jscripty/answers/reports/{id}",
14600 "title": "Deletes a Report",
14603 "title": "Example usage:",
14604 "content": "curl https://{domain}/api/jscripty/answers/reports/{id} -v -u {name}:{password} -X DELETE",
14608 "name": "DeleteReports",
14609 "group": "JscriptyAnswerReport",
14610 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14611 "version": "0.0.0",
14612 "filename": "server/api/jscriptyAnswerReport/index.js",
14613 "groupTitle": "JscriptyAnswerReport"
14617 "url": "/api/jscripty/answers/reports/describe",
14618 "title": "Gets table info about Reports",
14621 "title": "Example usage:",
14622 "content": "curl https://{domain}/api/jscripty/answers/reports/describe -v -u {name}:{password}",
14626 "name": "DescribeReports",
14627 "group": "JscriptyAnswerReport",
14628 "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>",
14629 "version": "0.0.0",
14630 "filename": "server/api/jscriptyAnswerReport/index.js",
14631 "groupTitle": "JscriptyAnswerReport"
14635 "url": "/api/jscripty/answers/reports",
14636 "title": "Gets a list of Reports",
14639 "title": "Example usage:",
14640 "content": "curl https://{domain}/api/jscripty/answers/reports -v -u {name}:{password}",
14644 "name": "GetReports",
14645 "group": "JscriptyAnswerReport",
14646 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
14647 "version": "0.0.0",
14648 "filename": "server/api/jscriptyAnswerReport/index.js",
14649 "groupTitle": "JscriptyAnswerReport"
14653 "url": "/api/jscripty/answers/reports/{id}",
14654 "title": "Gets a single Report",
14657 "title": "Example usage:",
14658 "content": "curl https://{domain}/api/jscripty/answers/reports/{id} -v -u {name}:{password}",
14662 "name": "ShowReports",
14663 "group": "JscriptyAnswerReport",
14664 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14665 "version": "0.0.0",
14666 "filename": "server/api/jscriptyAnswerReport/index.js",
14667 "groupTitle": "JscriptyAnswerReport"
14671 "url": "/api/jscripty/answers/reports/{id}",
14672 "title": "Update an existing Report",
14675 "title": "Example usage:",
14676 "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",
14680 "name": "updateReports",
14681 "group": "JscriptyAnswerReport",
14682 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14683 "version": "0.0.0",
14684 "filename": "server/api/jscriptyAnswerReport/index.js",
14685 "groupTitle": "JscriptyAnswerReport"
14689 "url": "/api/jscripty/questions/reports",
14690 "title": "Creates a new Report",
14693 "title": "Example usage:",
14694 "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",
14698 "name": "CreateReports",
14699 "group": "JscriptyQuestionReport",
14707 "field": "question",
14721 "field": "membername",
14728 "field": "projectname",
14742 "field": "uniqueid",
14749 "field": "calleridname",
14756 "field": "calleridnum",
14763 "field": "questionId",
14769 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14770 "version": "0.0.0",
14771 "filename": "server/api/jscriptyQuestionReport/index.js",
14772 "groupTitle": "JscriptyQuestionReport"
14776 "url": "/api/jscripty/questions/reports/{id}",
14777 "title": "Deletes a Report",
14780 "title": "Example usage:",
14781 "content": "curl https://{domain}/api/jscripty/questions/reports/{id} -v -u {name}:{password} -X DELETE",
14785 "name": "DeleteReports",
14786 "group": "JscriptyQuestionReport",
14787 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14788 "version": "0.0.0",
14789 "filename": "server/api/jscriptyQuestionReport/index.js",
14790 "groupTitle": "JscriptyQuestionReport"
14794 "url": "/api/jscripty/questions/reports/describe",
14795 "title": "Gets table info about Reports",
14798 "title": "Example usage:",
14799 "content": "curl https://{domain}/api/jscripty/questions/reports/describe -v -u {name}:{password}",
14803 "name": "DescribeReports",
14804 "group": "JscriptyQuestionReport",
14805 "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>",
14806 "version": "0.0.0",
14807 "filename": "server/api/jscriptyQuestionReport/index.js",
14808 "groupTitle": "JscriptyQuestionReport"
14812 "url": "/api/jscripty/questions/reports",
14813 "title": "Gets a list of Reports",
14816 "title": "Example usage:",
14817 "content": "curl https://{domain}/api/jscripty/questions/reports -v -u {name}:{password}",
14821 "name": "GetReports",
14822 "group": "JscriptyQuestionReport",
14823 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
14824 "version": "0.0.0",
14825 "filename": "server/api/jscriptyQuestionReport/index.js",
14826 "groupTitle": "JscriptyQuestionReport"
14830 "url": "/api/jscripty/questions/reports/{id}",
14831 "title": "Gets a single Report",
14834 "title": "Example usage:",
14835 "content": "curl https://{domain}/api/jscripty/questions/reports/{id} -v -u {name}:{password}",
14839 "name": "ShowReports",
14840 "group": "JscriptyQuestionReport",
14841 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14842 "version": "0.0.0",
14843 "filename": "server/api/jscriptyQuestionReport/index.js",
14844 "groupTitle": "JscriptyQuestionReport"
14848 "url": "/api/jscripty/questions/reports/{id}",
14849 "title": "Update an existing Report",
14852 "title": "Example usage:",
14853 "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",
14857 "name": "updateReports",
14858 "group": "JscriptyQuestionReport",
14859 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14860 "version": "0.0.0",
14861 "filename": "server/api/jscriptyQuestionReport/index.js",
14862 "groupTitle": "JscriptyQuestionReport"
14866 "url": "/api/jscripty/sessions/reports",
14867 "title": "Creates a new Report",
14870 "title": "Example usage:",
14871 "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",
14875 "name": "CreateReports",
14876 "group": "JscriptySessionReport",
14884 "field": "starttime",
14891 "field": "endtime",
14898 "field": "membername",
14905 "field": "projectname",
14919 "field": "uniqueid",
14926 "field": "calleridname",
14933 "field": "calleridnum",
14940 "field": "completed",
14946 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14947 "version": "0.0.0",
14948 "filename": "server/api/jscriptySessionReport/index.js",
14949 "groupTitle": "JscriptySessionReport"
14953 "url": "/api/jscripty/sessions/reports/{id}",
14954 "title": "Deletes a Report",
14957 "title": "Example usage:",
14958 "content": "curl https://{domain}/api/jscripty/sessions/reports/{id} -v -u {name}:{password} -X DELETE",
14962 "name": "DeleteReports",
14963 "group": "JscriptySessionReport",
14964 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14965 "version": "0.0.0",
14966 "filename": "server/api/jscriptySessionReport/index.js",
14967 "groupTitle": "JscriptySessionReport"
14971 "url": "/api/jscripty/sessions/reports/describe",
14972 "title": "Gets table info about Reports",
14975 "title": "Example usage:",
14976 "content": "curl https://{domain}/api/jscripty/sessions/reports/describe -v -u {name}:{password}",
14980 "name": "DescribeReports",
14981 "group": "JscriptySessionReport",
14982 "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>",
14983 "version": "0.0.0",
14984 "filename": "server/api/jscriptySessionReport/index.js",
14985 "groupTitle": "JscriptySessionReport"
14989 "url": "/api/jscripty/sessions/reports",
14990 "title": "Gets a list of Reports",
14993 "title": "Example usage:",
14994 "content": "curl https://{domain}/api/jscripty/sessions/reports -v -u {name}:{password}",
14998 "name": "GetReports",
14999 "group": "JscriptySessionReport",
15000 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
15001 "version": "0.0.0",
15002 "filename": "server/api/jscriptySessionReport/index.js",
15003 "groupTitle": "JscriptySessionReport"
15007 "url": "/api/jscripty/sessions/reports/{id}",
15008 "title": "Gets a single Report",
15011 "title": "Example usage:",
15012 "content": "curl https://{domain}/api/jscripty/sessions/reports/{id} -v -u {name}:{password}",
15016 "name": "ShowReports",
15017 "group": "JscriptySessionReport",
15018 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15019 "version": "0.0.0",
15020 "filename": "server/api/jscriptySessionReport/index.js",
15021 "groupTitle": "JscriptySessionReport"
15025 "url": "/api/jscripty/sessions/reports/{id}/questions",
15026 "title": "Gets Jscripty Session questions",
15029 "title": "Example usage:",
15030 "content": "curl https://{domain}/api/jscripty/sessions/reports/{id}/questions -v -u {name}:{password} -X GET",
15034 "name": "getQuestions",
15035 "group": "JscriptySessionReport",
15036 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15037 "version": "0.0.0",
15038 "filename": "server/api/jscriptySessionReport/index.js",
15039 "groupTitle": "JscriptySessionReport"
15043 "url": "/api/jscripty/sessions/reports/{id}",
15044 "title": "Update an existing Report",
15047 "title": "Example usage:",
15048 "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",
15052 "name": "updateReports",
15053 "group": "JscriptySessionReport",
15054 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15055 "version": "0.0.0",
15056 "filename": "server/api/jscriptySessionReport/index.js",
15057 "groupTitle": "JscriptySessionReport"
15061 "url": "/api/jscripty/projects/clone",
15062 "title": "Clone an existing Project",
15065 "title": "Example usage:",
15066 "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",
15070 "name": "CloneProjects",
15071 "group": "Jscripty_Projects",
15072 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15073 "version": "0.0.0",
15074 "filename": "server/api/jscriptyProject/index.js",
15075 "groupTitle": "Jscripty_Projects"
15079 "url": "/api/jscripty/projects",
15080 "title": "Creates a new Project",
15083 "title": "Example usage:",
15084 "content": "curl https://{domain}/api/jscripty/projects -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
15088 "name": "CreateProjects",
15089 "group": "Jscripty_Projects",
15104 "field": "description",
15111 "field": "formData",
15118 "field": "enableUncompleteSave",
15125 "field": "sendUnpauseOnSubmit",
15131 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15132 "version": "0.0.0",
15133 "filename": "server/api/jscriptyProject/index.js",
15134 "groupTitle": "Jscripty_Projects"
15138 "url": "/api/jscripty/projects/{id}",
15139 "title": "Deletes a Project",
15142 "title": "Example usage:",
15143 "content": "curl https://{domain}/api/jscripty/projects/{id} -v -u {name}:{password} -X DELETE",
15147 "name": "DeleteProjects",
15148 "group": "Jscripty_Projects",
15149 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15150 "version": "0.0.0",
15151 "filename": "server/api/jscriptyProject/index.js",
15152 "groupTitle": "Jscripty_Projects"
15156 "url": "/api/jscripty/projects",
15157 "title": "Gets a list of Projects",
15160 "title": "Example usage:",
15161 "content": "curl https://{domain}/api/jscripty/projects -v -u {name}:{password}",
15165 "name": "GetProjects",
15166 "group": "Jscripty_Projects",
15167 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
15168 "version": "0.0.0",
15169 "filename": "server/api/jscriptyProject/index.js",
15170 "groupTitle": "Jscripty_Projects"
15174 "url": "/api/jscripty/projects/{id}",
15175 "title": "Gets a single Project",
15178 "title": "Example usage:",
15179 "content": "curl https://{domain}/api/jscripty/projects/{id} -v -u {name}:{password}",
15183 "name": "ShowProjects",
15184 "group": "Jscripty_Projects",
15185 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15186 "version": "0.0.0",
15187 "filename": "server/api/jscriptyProject/index.js",
15188 "groupTitle": "Jscripty_Projects"
15192 "url": "/api/jscripty/projects/{id}/answers",
15193 "title": "Gets jscripty project answers",
15196 "title": "Example usage:",
15197 "content": "curl https://{domain}/api/jscripty/projects/{id}/answers -v -u {name}:{password} -X GET",
15201 "name": "getAnswers",
15202 "group": "Jscripty_Projects",
15203 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15204 "version": "0.0.0",
15205 "filename": "server/api/jscriptyProject/index.js",
15206 "groupTitle": "Jscripty_Projects"
15210 "url": "/api/jscripty/projects/{id}/sessions",
15211 "title": "Gets jscripty project sessions",
15214 "title": "Example usage:",
15215 "content": "curl https://{domain}/api/jscripty/projects/{id}/sessions -v -u {name}:{password} -X GET",
15219 "name": "getSessions",
15220 "group": "Jscripty_Projects",
15221 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15222 "version": "0.0.0",
15223 "filename": "server/api/jscriptyProject/index.js",
15224 "groupTitle": "Jscripty_Projects"
15228 "url": "/api/jscripty/projects/{id}/summary",
15229 "title": "Gets jscripty project summary",
15232 "title": "Example usage:",
15233 "content": "curl https://{domain}/api/jscripty/projects/{id}/summary -v -u {name}:{password} -X GET",
15237 "name": "getSummary",
15238 "group": "Jscripty_Projects",
15239 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15240 "version": "0.0.0",
15241 "filename": "server/api/jscriptyProject/index.js",
15242 "groupTitle": "Jscripty_Projects"
15246 "url": "/api/jscripty/projects/{id}",
15247 "title": "Update an existing Project",
15250 "title": "Example usage:",
15251 "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",
15255 "name": "updateProjects",
15256 "group": "Jscripty_Projects",
15257 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15258 "version": "0.0.0",
15259 "filename": "server/api/jscriptyProject/index.js",
15260 "groupTitle": "Jscripty_Projects"
15264 "url": "/api/license",
15265 "title": "Gets License Info",
15268 "title": "Example usage:",
15269 "content": "curl https://{domain}/api/license -v -u {name}:{password} -X GET",
15274 "group": "License",
15275 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15276 "version": "0.0.0",
15277 "filename": "server/api/license/index.js",
15278 "groupTitle": "License"
15282 "url": "/api/license/{id}",
15283 "title": "Update License Info",
15286 "title": "Example usage:",
15287 "content": "curl https://{domain}/api/license/{id} -v -u {name}:{password} -X PUT",
15292 "group": "License",
15293 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15294 "version": "0.0.0",
15295 "filename": "server/api/license/index.js",
15296 "groupTitle": "License"
15300 "url": "/api/mail/accounts/{id}/users",
15301 "title": "Add agents to a mail account",
15304 "title": "Example usage:",
15305 "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",
15309 "name": "AddAgents",
15310 "group": "Mail_Accounts",
15311 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15312 "version": "0.0.0",
15313 "filename": "server/api/mailAccount/index.js",
15314 "groupTitle": "Mail_Accounts"
15318 "url": "/api/mail/accounts/{id}/in_servers",
15319 "title": "Creates a new IMAP server",
15322 "title": "Example usage:",
15323 "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",
15328 "group": "Mail_Accounts",
15336 "field": "description",
15350 "field": "authentication",
15364 "field": "password",
15385 "field": "mailbox",
15392 "field": "connTimeout",
15399 "field": "authTimeout",
15406 "field": "service",
15412 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15413 "version": "0.0.0",
15414 "filename": "server/api/mailAccount/index.js",
15415 "groupTitle": "Mail_Accounts"
15419 "url": "/api/mail/accounts/{id}/out_servers",
15420 "title": "Creates a new SMTP server",
15423 "title": "Example usage:",
15424 "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",
15429 "group": "Mail_Accounts",
15437 "field": "description",
15479 "field": "service",
15486 "field": "authentication",
15492 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15493 "version": "0.0.0",
15494 "filename": "server/api/mailAccount/index.js",
15495 "groupTitle": "Mail_Accounts"
15499 "url": "/api/mail/accounts/{id}",
15500 "title": "Deletes a mail account",
15503 "title": "Example usage:",
15504 "content": "curl https://{domain}/api/mail/accounts/{id} -v -u {name}:{password} -X DELETE",
15508 "name": "DeleteMailAccounts",
15509 "group": "Mail_Accounts",
15510 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15511 "version": "0.0.0",
15512 "filename": "server/api/mailAccount/index.js",
15513 "groupTitle": "Mail_Accounts"
15517 "url": "/api/mail/accounts/describe",
15518 "title": "Gets table info about Accounts",
15521 "title": "Example usage:",
15522 "content": "curl https://{domain}/api/mail/accounts/describe -v -u {name}:{password}",
15526 "name": "DescribeAccounts",
15527 "group": "Mail_Accounts",
15528 "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>",
15529 "version": "0.0.0",
15530 "filename": "server/api/mailAccount/index.js",
15531 "groupTitle": "Mail_Accounts"
15535 "url": "/api/mail/accounts",
15536 "title": "Gets a list of Accounts",
15539 "title": "Example usage:",
15540 "content": "curl https://{domain}/api/mail/accounts -v -u {name}:{password}",
15544 "name": "GetAccounts",
15545 "group": "Mail_Accounts",
15546 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
15547 "version": "0.0.0",
15548 "filename": "server/api/mailAccount/index.js",
15549 "groupTitle": "Mail_Accounts"
15553 "url": "/api/mail/accounts/{id}/users",
15554 "title": "Gets agents from mail account",
15557 "title": "Example usage:",
15558 "content": "curl https://{domain}/api/mail/accounts/{id}/users -v -u {name}:{password} -X GET",
15562 "name": "GetAgents",
15563 "group": "Mail_Accounts",
15564 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15565 "version": "0.0.0",
15566 "filename": "server/api/mailAccount/index.js",
15567 "groupTitle": "Mail_Accounts"
15571 "url": "/api/mail/accounts/{id}/in_servers",
15572 "title": "Gets account IMAP server",
15575 "title": "Example usage:",
15576 "content": "curl https://{domain}/api/mail/accounts/{id}/in_servers -v -u {name}:{password} -X GET",
15581 "group": "Mail_Accounts",
15582 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15583 "version": "0.0.0",
15584 "filename": "server/api/mailAccount/index.js",
15585 "groupTitle": "Mail_Accounts"
15589 "url": "/api/mail/accounts/{id}/out_servers",
15590 "title": "Gets account SMTP server",
15593 "title": "Example usage:",
15594 "content": "curl https://{domain}/api/mail/accounts/{id}/out_servers -v -u {name}:{password} -X GET",
15599 "group": "Mail_Accounts",
15600 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15601 "version": "0.0.0",
15602 "filename": "server/api/mailAccount/index.js",
15603 "groupTitle": "Mail_Accounts"
15607 "url": "/api/mail/accounts/{id}/users",
15608 "title": "Removes agents from a mail account",
15611 "title": "Example usage:",
15612 "content": "curl https://{domain}/api/mail/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15616 "name": "RemoveAgents",
15617 "group": "Mail_Accounts",
15618 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15619 "version": "0.0.0",
15620 "filename": "server/api/mailAccount/index.js",
15621 "groupTitle": "Mail_Accounts"
15625 "url": "/api/mail/accounts/{id}/canned_answers",
15626 "title": "Removes canned answers from account",
15629 "title": "Example usage:",
15630 "content": "curl https://{domain}/api/mail/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15634 "name": "RemoveAnswers",
15635 "group": "Mail_Accounts",
15636 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15637 "version": "0.0.0",
15638 "filename": "server/api/mailAccount/index.js",
15639 "groupTitle": "Mail_Accounts"
15643 "url": "/api/mail/accounts/{id}/dispositions",
15644 "title": "Removes dispositions from account",
15647 "title": "Example usage:",
15648 "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15652 "name": "RemoveDispositions",
15653 "group": "Mail_Accounts",
15654 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15655 "version": "0.0.0",
15656 "filename": "server/api/mailAccount/index.js",
15657 "groupTitle": "Mail_Accounts"
15661 "url": "/api/mail/accounts/{id}/in_servers",
15662 "title": "Removes IMAP server from an account",
15665 "title": "Example usage:",
15666 "content": "curl https://{domain}/api/mail/accounts/{id}/in_servers -v -u {name}:{password} -X DELETE",
15670 "name": "RemoveImmap",
15671 "group": "Mail_Accounts",
15672 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15673 "version": "0.0.0",
15674 "filename": "server/api/mailAccount/index.js",
15675 "groupTitle": "Mail_Accounts"
15679 "url": "/api/mail/accounts/{id}/out_servers",
15680 "title": "Removes SMTP server from an account",
15683 "title": "Example usage:",
15684 "content": "curl https://{domain}/api/mail/accounts/{id}/out_servers -v -u {name}:{password} -X DELETE",
15688 "name": "RemoveSmtp",
15689 "group": "Mail_Accounts",
15690 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15691 "version": "0.0.0",
15692 "filename": "server/api/mailAccount/index.js",
15693 "groupTitle": "Mail_Accounts"
15697 "url": "/api/mail/accounts/{id}",
15698 "title": "Gets a single Account",
15701 "title": "Example usage:",
15702 "content": "curl https://{domain}/api/mail/accounts/{id} -v -u {name}:{password}",
15706 "name": "ShowAccounts",
15707 "group": "Mail_Accounts",
15708 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15709 "version": "0.0.0",
15710 "filename": "server/api/mailAccount/index.js",
15711 "groupTitle": "Mail_Accounts"
15715 "url": "/api/mail/accounts/{id}/canned_answers",
15716 "title": "Creates new canned answer",
15719 "title": "Example usage:",
15720 "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",
15724 "name": "addAnswer",
15725 "group": "Mail_Accounts",
15747 "field": "description",
15760 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15761 "version": "0.0.0",
15762 "filename": "server/api/mailAccount/index.js",
15763 "groupTitle": "Mail_Accounts"
15767 "url": "/api/mail/accounts/{id}/applications",
15768 "title": "Creates new applications",
15771 "title": "Example usage:",
15772 "content": "curl https://{domain}/api/mail/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15776 "name": "addApplications",
15777 "group": "Mail_Accounts",
15785 "field": "priority",
15799 "field": "appdata",
15806 "field": "description",
15813 "field": "interval",
15819 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15820 "version": "0.0.0",
15821 "filename": "server/api/mailAccount/index.js",
15822 "groupTitle": "Mail_Accounts"
15826 "url": "/api/mail/accounts/{id}/dispositions",
15827 "title": "Creates new disposition",
15830 "title": "Example usage:",
15831 "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15835 "name": "addDisposition",
15836 "group": "Mail_Accounts",
15863 "field": "description",
15869 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15870 "version": "0.0.0",
15871 "filename": "server/api/mailAccount/index.js",
15872 "groupTitle": "Mail_Accounts"
15876 "url": "/api/mail/accounts/{id}/interactions",
15877 "title": "Creates new interactions",
15880 "title": "Example usage:",
15881 "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",
15885 "name": "addInteraction",
15886 "group": "Mail_Accounts",
15901 "field": "closedAt",
15908 "field": "disposition",
15915 "field": "secondDisposition",
15922 "field": "thirdDisposition",
15936 "field": "inReplyTo",
15957 "field": "subject",
15971 "field": "read1stAt",
15978 "field": "substatus",
15985 "field": "substatusAt",
15996 "field": "firstMsgDirection",
16003 "field": "lastMsgAt",
16014 "field": "lastMsgDirection",
16020 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16021 "version": "0.0.0",
16022 "filename": "server/api/mailAccount/index.js",
16023 "groupTitle": "Mail_Accounts"
16027 "url": "/api/mail/accounts",
16028 "title": "Create a mail account",
16031 "title": "Example usage:",
16032 "content": "curl https://{domain}/api/mail/accounts \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16037 "group": "Mail_Accounts",
16038 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16039 "version": "0.0.0",
16040 "filename": "server/api/mailAccount/index.js",
16041 "groupTitle": "Mail_Accounts"
16045 "url": "/api/mail/accounts/{id}/canned_answers",
16046 "title": "Gets account canned answers",
16049 "title": "Example usage:",
16050 "content": "curl https://{domain}/api/mail/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
16054 "name": "getAnswers",
16055 "group": "Mail_Accounts",
16056 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16057 "version": "0.0.0",
16058 "filename": "server/api/mailAccount/index.js",
16059 "groupTitle": "Mail_Accounts"
16063 "url": "/api/mail/accounts/{id}/applications",
16064 "title": "Gets account applications",
16067 "title": "Example usage:",
16068 "content": "curl https://{domain}/api/mail/accounts/{id}/applications -v -u {name}:{password} -X GET",
16072 "name": "getApplications",
16073 "group": "Mail_Accounts",
16074 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16075 "version": "0.0.0",
16076 "filename": "server/api/mailAccount/index.js",
16077 "groupTitle": "Mail_Accounts"
16081 "url": "/api/mail/accounts/{id}/dispositions",
16082 "title": "Gets account dispositions",
16085 "title": "Example usage:",
16086 "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
16090 "name": "getDispositions",
16091 "group": "Mail_Accounts",
16092 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16093 "version": "0.0.0",
16094 "filename": "server/api/mailAccount/index.js",
16095 "groupTitle": "Mail_Accounts"
16099 "url": "/api/mail/accounts/{id}/interactions",
16100 "title": "Gets account interactions",
16103 "title": "Example usage:",
16104 "content": "curl https://{domain}/api/mail/accounts/{id}/interactions -v -u {name}:{password} -X GET",
16108 "name": "getInteraction",
16109 "group": "Mail_Accounts",
16110 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16111 "version": "0.0.0",
16112 "filename": "server/api/mailAccount/index.js",
16113 "groupTitle": "Mail_Accounts"
16117 "url": "/api/mail/accounts/{id}/messages",
16118 "title": "Gets account messages",
16121 "title": "Example usage:",
16122 "content": "curl https://{domain}/api/mail/accounts/{id}/messages -v -u {name}:{password} -X GET",
16126 "name": "getMessages",
16127 "group": "Mail_Accounts",
16128 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16129 "version": "0.0.0",
16130 "filename": "server/api/mailAccount/index.js",
16131 "groupTitle": "Mail_Accounts"
16135 "url": "/api/mail/accounts/{id}/send",
16136 "title": "Send new mail",
16139 "title": "Example usage:",
16140 "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",
16144 "name": "sendMail",
16145 "group": "Mail_Accounts",
16146 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16147 "version": "0.0.0",
16148 "filename": "server/api/mailAccount/index.js",
16149 "groupTitle": "Mail_Accounts"
16153 "url": "/api/mail/accounts/{id}",
16154 "title": "Update an existing Account",
16157 "title": "Example usage:",
16158 "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",
16162 "name": "updateAccounts",
16163 "group": "Mail_Accounts",
16164 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16165 "version": "0.0.0",
16166 "filename": "server/api/mailAccount/index.js",
16167 "groupTitle": "Mail_Accounts"
16171 "url": "/api/mail/accounts/{id}/verify",
16172 "title": "Verify mail account",
16175 "title": "Example usage:",
16176 "content": "curl https://{domain}/api/mail/accounts/{id}/verify -v -u {name}:{password} -X GET",
16180 "name": "verifySmtp",
16181 "group": "Mail_Accounts",
16182 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16183 "version": "0.0.0",
16184 "filename": "server/api/mailAccount/index.js",
16185 "groupTitle": "Mail_Accounts"
16189 "url": "/api/mail/applications/{id}",
16190 "title": "Deletes a Application",
16193 "title": "Example usage:",
16194 "content": "curl https://{domain}/api/mail/applications/{id} -v -u {name}:{password} -X DELETE",
16198 "name": "DeleteApplications",
16199 "group": "Mail_Applications",
16200 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16201 "version": "0.0.0",
16202 "filename": "server/api/mailApplication/index.js",
16203 "groupTitle": "Mail_Applications"
16207 "url": "/api/mail/applications/{id}",
16208 "title": "Gets a single Application",
16211 "title": "Example usage:",
16212 "content": "curl https://{domain}/api/mail/applications/{id} -v -u {name}:{password}",
16216 "name": "ShowApplications",
16217 "group": "Mail_Applications",
16218 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16219 "version": "0.0.0",
16220 "filename": "server/api/mailApplication/index.js",
16221 "groupTitle": "Mail_Applications"
16225 "url": "/api/mail/applications/{id}",
16226 "title": "Update an existing Application",
16229 "title": "Example usage:",
16230 "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",
16234 "name": "updateApplications",
16235 "group": "Mail_Applications",
16236 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16237 "version": "0.0.0",
16238 "filename": "server/api/mailApplication/index.js",
16239 "groupTitle": "Mail_Applications"
16243 "url": "/api/mail/interactions/{id}/tags",
16244 "title": "Add tags to the interaction",
16247 "title": "Example usage:",
16248 "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",
16253 "group": "Mail_Interactions",
16254 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16255 "version": "0.0.0",
16256 "filename": "server/api/mailInteraction/index.js",
16257 "groupTitle": "Mail_Interactions"
16261 "url": "/api/mail/interactions",
16262 "title": "Creates a new Interaction",
16265 "title": "Example usage:",
16266 "content": "curl https://{domain}/api/mail/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
16270 "name": "CreateInteractions",
16271 "group": "Mail_Interactions",
16286 "field": "closedAt",
16293 "field": "disposition",
16300 "field": "secondDisposition",
16307 "field": "thirdDisposition",
16321 "field": "inReplyTo",
16342 "field": "subject",
16356 "field": "read1stAt",
16363 "field": "substatus",
16370 "field": "substatusAt",
16381 "field": "firstMsgDirection",
16388 "field": "lastMsgAt",
16399 "field": "lastMsgDirection",
16405 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16406 "version": "0.0.0",
16407 "filename": "server/api/mailInteraction/index.js",
16408 "groupTitle": "Mail_Interactions"
16412 "url": "/api/mail/interactions/{id}",
16413 "title": "Deletes a Interaction",
16416 "title": "Example usage:",
16417 "content": "curl https://{domain}/api/mail/interactions/{id} -v -u {name}:{password} -X DELETE",
16421 "name": "DeleteInteractions",
16422 "group": "Mail_Interactions",
16423 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16424 "version": "0.0.0",
16425 "filename": "server/api/mailInteraction/index.js",
16426 "groupTitle": "Mail_Interactions"
16430 "url": "/api/mail/interactions/describe",
16431 "title": "Gets table info about Interactions",
16434 "title": "Example usage:",
16435 "content": "curl https://{domain}/api/mail/interactions/describe -v -u {name}:{password}",
16439 "name": "DescribeInteractions",
16440 "group": "Mail_Interactions",
16441 "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>",
16442 "version": "0.0.0",
16443 "filename": "server/api/mailInteraction/index.js",
16444 "groupTitle": "Mail_Interactions"
16448 "url": "/api/mail/interactions",
16449 "title": "Gets a list of Interactions",
16452 "title": "Example usage:",
16453 "content": "curl https://{domain}/api/mail/interactions -v -u {name}:{password}",
16457 "name": "GetInteractions",
16458 "group": "Mail_Interactions",
16459 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
16460 "version": "0.0.0",
16461 "filename": "server/api/mailInteraction/index.js",
16462 "groupTitle": "Mail_Interactions"
16466 "url": "/api/mail/interactions/{id}/tags",
16467 "title": "Removes tags from interaction",
16470 "title": "Example usage:",
16471 "content": "curl https://{domain}/api/mail/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
16475 "name": "RemoveTags",
16476 "group": "Mail_Interactions",
16477 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16478 "version": "0.0.0",
16479 "filename": "server/api/mailInteraction/index.js",
16480 "groupTitle": "Mail_Interactions"
16484 "url": "/api/mail/interactions/{id}",
16485 "title": "Gets a single Interaction",
16488 "title": "Example usage:",
16489 "content": "curl https://{domain}/api/mail/interactions/{id} -v -u {name}:{password}",
16493 "name": "ShowInteractions",
16494 "group": "Mail_Interactions",
16495 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16496 "version": "0.0.0",
16497 "filename": "server/api/mailInteraction/index.js",
16498 "groupTitle": "Mail_Interactions"
16502 "url": "/api/mail/interactions/{id}/messages",
16503 "title": "Creates new message",
16506 "title": "Example usage:",
16507 "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",
16511 "name": "addMessage",
16512 "group": "Mail_Interactions",
16527 "field": "plainBody",
16545 "field": "direction",
16552 "field": "messageId",
16587 "field": "subject",
16622 "field": "originTo",
16629 "field": "originCc",
16640 "field": "originChannel",
16646 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16647 "version": "0.0.0",
16648 "filename": "server/api/mailInteraction/index.js",
16649 "groupTitle": "Mail_Interactions"
16653 "url": "/api/mail/interactions/{id}/download",
16654 "title": "Gets interaction",
16657 "title": "Example usage:",
16658 "content": "curl https://{domain}/api/mail/interactions/{id}/download -v -u {name}:{password} -X GET",
16662 "name": "download",
16663 "group": "Mail_Interactions",
16664 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16665 "version": "0.0.0",
16666 "filename": "server/api/mailInteraction/index.js",
16667 "groupTitle": "Mail_Interactions"
16671 "url": "/api/mail/interactions/{id}/messages",
16672 "title": "Gets interaction messages",
16675 "title": "Example usage:",
16676 "content": "curl https://{domain}/api/mail/interactions/{id}/messages -v -u {name}:{password} -X GET",
16680 "name": "getMessages",
16681 "group": "Mail_Interactions",
16682 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16683 "version": "0.0.0",
16684 "filename": "server/api/mailInteraction/index.js",
16685 "groupTitle": "Mail_Interactions"
16689 "url": "/api/mail/interactions/{id}",
16690 "title": "Update an existing Interaction",
16693 "title": "Example usage:",
16694 "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",
16698 "name": "updateInteractions",
16699 "group": "Mail_Interactions",
16700 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16701 "version": "0.0.0",
16702 "filename": "server/api/mailInteraction/index.js",
16703 "groupTitle": "Mail_Interactions"
16707 "url": "/api/mail/messages/{id}",
16708 "title": "Deletes a Message",
16711 "title": "Example usage:",
16712 "content": "curl https://{domain}/api/mail/messages/{id} -v -u {name}:{password} -X DELETE",
16716 "name": "DeleteMessages",
16717 "group": "Mail_Messages",
16718 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16719 "version": "0.0.0",
16720 "filename": "server/api/mailMessage/index.js",
16721 "groupTitle": "Mail_Messages"
16725 "url": "/api/mail/messages/describe",
16726 "title": "Gets table info about Messages",
16729 "title": "Example usage:",
16730 "content": "curl https://{domain}/api/mail/messages/describe -v -u {name}:{password}",
16734 "name": "DescribeMessages",
16735 "group": "Mail_Messages",
16736 "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>",
16737 "version": "0.0.0",
16738 "filename": "server/api/mailMessage/index.js",
16739 "groupTitle": "Mail_Messages"
16743 "url": "/api/mail/messages",
16744 "title": "Gets a list of Messages",
16747 "title": "Example usage:",
16748 "content": "curl https://{domain}/api/mail/messages -v -u {name}:{password}",
16752 "name": "GetMessages",
16753 "group": "Mail_Messages",
16754 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
16755 "version": "0.0.0",
16756 "filename": "server/api/mailMessage/index.js",
16757 "groupTitle": "Mail_Messages"
16761 "url": "/api/mail/messages/{id}",
16762 "title": "Gets a single Message",
16765 "title": "Example usage:",
16766 "content": "curl https://{domain}/api/mail/messages/{id} -v -u {name}:{password}",
16770 "name": "ShowMessages",
16771 "group": "Mail_Messages",
16772 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16773 "version": "0.0.0",
16774 "filename": "server/api/mailMessage/index.js",
16775 "groupTitle": "Mail_Messages"
16779 "url": "/api/mail/messages/{id}/accept",
16780 "title": "Accepts message",
16783 "title": "Example usage:",
16784 "content": "curl https://{domain}/api/mail/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
16788 "name": "acceptMessage",
16789 "group": "Mail_Messages",
16790 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16791 "version": "0.0.0",
16792 "filename": "server/api/mailMessage/index.js",
16793 "groupTitle": "Mail_Messages"
16797 "url": "/api/mail/messages",
16798 "title": "Create a message",
16801 "title": "Example usage:",
16802 "content": "curl https://{domain}/api/mail/messages \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16806 "name": "createMessage",
16807 "group": "Mail_Messages",
16808 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16809 "version": "0.0.0",
16810 "filename": "server/api/mailMessage/index.js",
16811 "groupTitle": "Mail_Messages"
16815 "url": "/api/mail/messages/{id}/download",
16816 "title": "Gets message",
16819 "title": "Example usage:",
16820 "content": "curl https://{domain}/api/mail/messages/{id}/download -v -u {name}:{password} -X GET",
16824 "name": "download",
16825 "group": "Mail_Messages",
16826 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16827 "version": "0.0.0",
16828 "filename": "server/api/mailMessage/index.js",
16829 "groupTitle": "Mail_Messages"
16833 "url": "/api/mail/messages/{id}/reject",
16834 "title": "Rejects message",
16837 "title": "Example usage:",
16838 "content": "curl https://{domain}/api/mail/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
16842 "name": "rejectMessage",
16843 "group": "Mail_Messages",
16844 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16845 "version": "0.0.0",
16846 "filename": "server/api/mailMessage/index.js",
16847 "groupTitle": "Mail_Messages"
16851 "url": "/api/mail/messages/{id}",
16852 "title": "Update an existing Message",
16855 "title": "Example usage:",
16856 "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",
16860 "name": "updateMessages",
16861 "group": "Mail_Messages",
16862 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16863 "version": "0.0.0",
16864 "filename": "server/api/mailMessage/index.js",
16865 "groupTitle": "Mail_Messages"
16869 "url": "/api/mail/reports/queue",
16870 "title": "Creates a new Mail Queue Report",
16873 "title": "Example usage:",
16874 "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",
16878 "name": "CreateMail_Queue_Reports",
16879 "group": "Mail_Queue_Reports",
16887 "field": "uniqueid",
16908 "field": "leaveAt",
16915 "field": "acceptAt",
16935 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16936 "version": "0.0.0",
16937 "filename": "server/api/mailQueueReport/index.js",
16938 "groupTitle": "Mail_Queue_Reports"
16942 "url": "/api/mail/reports/queue/{id}",
16943 "title": "Deletes a Mail Queue Report",
16946 "title": "Example usage:",
16947 "content": "curl https://{domain}/api/mail/reports/queue/{id} -v -u {name}:{password} -X DELETE",
16951 "name": "DeleteMail_Queue_Reports",
16952 "group": "Mail_Queue_Reports",
16953 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16954 "version": "0.0.0",
16955 "filename": "server/api/mailQueueReport/index.js",
16956 "groupTitle": "Mail_Queue_Reports"
16960 "url": "/api/mail/reports/queue/describe",
16961 "title": "Gets table info about Mail Queue Reports",
16964 "title": "Example usage:",
16965 "content": "curl https://{domain}/api/mail/reports/queue/describe -v -u {name}:{password}",
16969 "name": "DescribeMail_Queue_Reports",
16970 "group": "Mail_Queue_Reports",
16971 "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>",
16972 "version": "0.0.0",
16973 "filename": "server/api/mailQueueReport/index.js",
16974 "groupTitle": "Mail_Queue_Reports"
16978 "url": "/api/mail/reports/queue",
16979 "title": "Gets a list of Mail Queue Reports",
16982 "title": "Example usage:",
16983 "content": "curl https://{domain}/api/mail/reports/queue -v -u {name}:{password}",
16987 "name": "GetMail_Queue_Reports",
16988 "group": "Mail_Queue_Reports",
16989 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
16990 "version": "0.0.0",
16991 "filename": "server/api/mailQueueReport/index.js",
16992 "groupTitle": "Mail_Queue_Reports"
16996 "url": "/api/mail/reports/queue/{id}",
16997 "title": "Gets a single Mail Queue Report",
17000 "title": "Example usage:",
17001 "content": "curl https://{domain}/api/mail/reports/queue/{id} -v -u {name}:{password}",
17005 "name": "ShowMail_Queue_Reports",
17006 "group": "Mail_Queue_Reports",
17007 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17008 "version": "0.0.0",
17009 "filename": "server/api/mailQueueReport/index.js",
17010 "groupTitle": "Mail_Queue_Reports"
17014 "url": "/api/mail/reports/queue/{id}",
17015 "title": "Update an existing Mail Queue Report",
17018 "title": "Example usage:",
17019 "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",
17023 "name": "updateMail_Queue_Reports",
17024 "group": "Mail_Queue_Reports",
17025 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17026 "version": "0.0.0",
17027 "filename": "server/api/mailQueueReport/index.js",
17028 "groupTitle": "Mail_Queue_Reports"
17032 "url": "/api/mail/queues/{id}/users",
17033 "title": "Add agents to a queue",
17036 "title": "Example usage:",
17037 "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",
17041 "name": "AddAgents",
17042 "group": "Mail_Queues",
17043 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17044 "version": "0.0.0",
17045 "filename": "server/api/mailQueue/index.js",
17046 "groupTitle": "Mail_Queues"
17050 "url": "/api/mail/queues/{id}/teams",
17051 "title": "Add teams to a queue",
17054 "title": "Example usage:",
17055 "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",
17059 "name": "AddTeams",
17060 "group": "Mail_Queues",
17061 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17062 "version": "0.0.0",
17063 "filename": "server/api/mailQueue/index.js",
17064 "groupTitle": "Mail_Queues"
17068 "url": "/api/mail/queues",
17069 "title": "Creates a new Queue",
17072 "title": "Example usage:",
17073 "content": "curl https://{domain}/api/mail/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17077 "name": "CreateQueues",
17078 "group": "Mail_Queues",
17093 "field": "description",
17100 "field": "timeout",
17112 "field": "strategy",
17118 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17119 "version": "0.0.0",
17120 "filename": "server/api/mailQueue/index.js",
17121 "groupTitle": "Mail_Queues"
17125 "url": "/api/mail/queues/{id}",
17126 "title": "Deletes a Queue",
17129 "title": "Example usage:",
17130 "content": "curl https://{domain}/api/mail/queues/{id} -v -u {name}:{password} -X DELETE",
17134 "name": "DeleteQueues",
17135 "group": "Mail_Queues",
17136 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17137 "version": "0.0.0",
17138 "filename": "server/api/mailQueue/index.js",
17139 "groupTitle": "Mail_Queues"
17143 "url": "/api/mail/queues/describe",
17144 "title": "Gets table info about Queues",
17147 "title": "Example usage:",
17148 "content": "curl https://{domain}/api/mail/queues/describe -v -u {name}:{password}",
17152 "name": "DescribeQueues",
17153 "group": "Mail_Queues",
17154 "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>",
17155 "version": "0.0.0",
17156 "filename": "server/api/mailQueue/index.js",
17157 "groupTitle": "Mail_Queues"
17161 "url": "/api/mail/queues/{id}/users",
17162 "title": "Gets queue agents",
17165 "title": "Example usage:",
17166 "content": "curl https://{domain}/api/mail/queues/{id}/users -v -u {name}:{password} -X POST",
17170 "name": "GetAgents",
17171 "group": "Mail_Queues",
17172 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17173 "version": "0.0.0",
17174 "filename": "server/api/mailQueue/index.js",
17175 "groupTitle": "Mail_Queues"
17179 "url": "/api/mail/queues/{id}/members",
17180 "title": "GetMembers",
17183 "title": "Example usage:",
17184 "content": "curl https://{domain}/api/mail/queues/{id}/members -v -u {name}:{password}",
17188 "name": "GetMembers",
17189 "group": "Mail_Queues",
17190 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17191 "version": "0.0.0",
17192 "filename": "server/api/mailQueue/index.js",
17193 "groupTitle": "Mail_Queues"
17197 "url": "/api/mail/queues",
17198 "title": "Gets a list of Queues",
17201 "title": "Example usage:",
17202 "content": "curl https://{domain}/api/mail/queues -v -u {name}:{password}",
17206 "name": "GetQueues",
17207 "group": "Mail_Queues",
17208 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17209 "version": "0.0.0",
17210 "filename": "server/api/mailQueue/index.js",
17211 "groupTitle": "Mail_Queues"
17215 "url": "/api/mail/queues/{id}/teams",
17216 "title": "Gets queues list",
17219 "title": "Example usage:",
17220 "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password}",
17224 "name": "GetTeams",
17225 "group": "Mail_Queues",
17226 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17227 "version": "0.0.0",
17228 "filename": "server/api/mailQueue/index.js",
17229 "groupTitle": "Mail_Queues"
17233 "url": "/api/mail/queues/{id}/users",
17234 "title": "Removes agents from a queue",
17237 "title": "Example usage:",
17238 "content": "curl https://{domain}/api/mail/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
17242 "name": "RemoveAgents",
17243 "group": "Mail_Queues",
17244 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17245 "version": "0.0.0",
17246 "filename": "server/api/mailQueue/index.js",
17247 "groupTitle": "Mail_Queues"
17251 "url": "/api/mail/queues/{id}",
17252 "title": "Gets a single Queue",
17255 "title": "Example usage:",
17256 "content": "curl https://{domain}/api/mail/queues/{id} -v -u {name}:{password}",
17260 "name": "ShowQueues",
17261 "group": "Mail_Queues",
17262 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17263 "version": "0.0.0",
17264 "filename": "server/api/mailQueue/index.js",
17265 "groupTitle": "Mail_Queues"
17269 "url": "/api/mail/queues/{id}",
17270 "title": "Update an existing Queue",
17273 "title": "Example usage:",
17274 "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",
17278 "name": "updateQueues",
17279 "group": "Mail_Queues",
17280 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17281 "version": "0.0.0",
17282 "filename": "server/api/mailQueue/index.js",
17283 "groupTitle": "Mail_Queues"
17287 "url": "/api/mail/out_servers",
17288 "title": "Creates a new SMTP",
17291 "title": "Example usage:",
17292 "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",
17296 "name": "CreateSMTPs",
17297 "group": "Mail_SMTP",
17305 "field": "description",
17347 "field": "service",
17354 "field": "authentication",
17360 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17361 "version": "0.0.0",
17362 "filename": "server/api/mailServerOut/index.js",
17363 "groupTitle": "Mail_SMTP"
17367 "url": "/api/mail/out_servers/{id}",
17368 "title": "Deletes a SMTP",
17371 "title": "Example usage:",
17372 "content": "curl https://{domain}/api/mail/out_servers/{id} -v -u {name}:{password} -X DELETE",
17376 "name": "DeleteSMTPs",
17377 "group": "Mail_SMTP",
17378 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17379 "version": "0.0.0",
17380 "filename": "server/api/mailServerOut/index.js",
17381 "groupTitle": "Mail_SMTP"
17385 "url": "/api/mail/out_servers",
17386 "title": "Gets a list of SMTPs",
17389 "title": "Example usage:",
17390 "content": "curl https://{domain}/api/mail/out_servers -v -u {name}:{password}",
17394 "name": "GetSMTPs",
17395 "group": "Mail_SMTP",
17396 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17397 "version": "0.0.0",
17398 "filename": "server/api/mailServerOut/index.js",
17399 "groupTitle": "Mail_SMTP"
17403 "url": "/api/mail/out_servers/{id}",
17404 "title": "Gets a single SMTP",
17407 "title": "Example usage:",
17408 "content": "curl https://{domain}/api/mail/out_servers/{id} -v -u {name}:{password}",
17412 "name": "ShowSMTPs",
17413 "group": "Mail_SMTP",
17414 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17415 "version": "0.0.0",
17416 "filename": "server/api/mailServerOut/index.js",
17417 "groupTitle": "Mail_SMTP"
17421 "url": "/api/mail/out_servers/{id}",
17422 "title": "Update an existing SMTP",
17425 "title": "Example usage:",
17426 "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",
17430 "name": "updateSMTPs",
17431 "group": "Mail_SMTP",
17432 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17433 "version": "0.0.0",
17434 "filename": "server/api/mailServerOut/index.js",
17435 "groupTitle": "Mail_SMTP"
17439 "url": "/api/mail/substatuses",
17440 "title": "Creates a new Queue",
17443 "title": "Example usage:",
17444 "content": "curl https://{domain}/api/mail/substatuses -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17448 "name": "CreateSubstatuses",
17449 "group": "Mail_Substatuses",
17464 "field": "description",
17470 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17471 "version": "0.0.0",
17472 "filename": "server/api/mailSubstatus/index.js",
17473 "groupTitle": "Mail_Substatuses"
17477 "url": "/api/mail/substatuses/{id}",
17478 "title": "Deletes a Queue",
17481 "title": "Example usage:",
17482 "content": "curl https://{domain}/api/mail/substatuses/{id} -v -u {name}:{password} -X DELETE",
17486 "name": "DeleteSubstatuses",
17487 "group": "Mail_Substatuses",
17488 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17489 "version": "0.0.0",
17490 "filename": "server/api/mailSubstatus/index.js",
17491 "groupTitle": "Mail_Substatuses"
17495 "url": "/api/mail/substatuses/describe",
17496 "title": "Gets table info about Substatuses",
17499 "title": "Example usage:",
17500 "content": "curl https://{domain}/api/mail/substatuses/describe -v -u {name}:{password}",
17504 "name": "DescribeSubstatuses",
17505 "group": "Mail_Substatuses",
17506 "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>",
17507 "version": "0.0.0",
17508 "filename": "server/api/mailSubstatus/index.js",
17509 "groupTitle": "Mail_Substatuses"
17513 "url": "/api/mail/substatuses",
17514 "title": "Gets a list of Substatuses",
17517 "title": "Example usage:",
17518 "content": "curl https://{domain}/api/mail/substatuses -v -u {name}:{password}",
17522 "name": "GetSubstatuses",
17523 "group": "Mail_Substatuses",
17524 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17525 "version": "0.0.0",
17526 "filename": "server/api/mailSubstatus/index.js",
17527 "groupTitle": "Mail_Substatuses"
17531 "url": "/api/mail/substatuses/{id}",
17532 "title": "Gets a single Queue",
17535 "title": "Example usage:",
17536 "content": "curl https://{domain}/api/mail/substatuses/{id} -v -u {name}:{password}",
17540 "name": "ShowSubstatuses",
17541 "group": "Mail_Substatuses",
17542 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17543 "version": "0.0.0",
17544 "filename": "server/api/mailSubstatus/index.js",
17545 "groupTitle": "Mail_Substatuses"
17549 "url": "/api/mail/substatuses/{id}",
17550 "title": "Update an existing Queue",
17553 "title": "Example usage:",
17554 "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",
17558 "name": "updateSubstatuses",
17559 "group": "Mail_Substatuses",
17560 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17561 "version": "0.0.0",
17562 "filename": "server/api/mailSubstatus/index.js",
17563 "groupTitle": "Mail_Substatuses"
17567 "url": "/api/mail/reports/transfer",
17568 "title": "Creates a new Mail Transfer Report",
17571 "title": "Example usage:",
17572 "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",
17576 "name": "CreateMail_Transfer_Reports",
17577 "group": "Mail_Transfer_Reports",
17585 "field": "uniqueid",
17604 "field": "transferredAt",
17610 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17611 "version": "0.0.0",
17612 "filename": "server/api/mailTransferReport/index.js",
17613 "groupTitle": "Mail_Transfer_Reports"
17617 "url": "/api/mail/reports/transfer/{id}",
17618 "title": "Deletes a Mail Transfer Report",
17621 "title": "Example usage:",
17622 "content": "curl https://{domain}/api/mail/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
17626 "name": "DeleteMail_Transfer_Reports",
17627 "group": "Mail_Transfer_Reports",
17628 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17629 "version": "0.0.0",
17630 "filename": "server/api/mailTransferReport/index.js",
17631 "groupTitle": "Mail_Transfer_Reports"
17635 "url": "/api/mail/reports/transfer/describe",
17636 "title": "Gets table info about Mail Transfer Reports",
17639 "title": "Example usage:",
17640 "content": "curl https://{domain}/api/mail/reports/transfer/describe -v -u {name}:{password}",
17644 "name": "DescribeMail_Transfer_Reports",
17645 "group": "Mail_Transfer_Reports",
17646 "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>",
17647 "version": "0.0.0",
17648 "filename": "server/api/mailTransferReport/index.js",
17649 "groupTitle": "Mail_Transfer_Reports"
17653 "url": "/api/mail/reports/transfer",
17654 "title": "Gets a list of Mail Transfer Reports",
17657 "title": "Example usage:",
17658 "content": "curl https://{domain}/api/mail/reports/transfer -v -u {name}:{password}",
17662 "name": "GetMail_Transfer_Reports",
17663 "group": "Mail_Transfer_Reports",
17664 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17665 "version": "0.0.0",
17666 "filename": "server/api/mailTransferReport/index.js",
17667 "groupTitle": "Mail_Transfer_Reports"
17671 "url": "/api/mail/reports/transfer/{id}",
17672 "title": "Gets a single Mail Transfer Report",
17675 "title": "Example usage:",
17676 "content": "curl https://{domain}/api/mail/reports/transfer/{id} -v -u {name}:{password}",
17680 "name": "ShowMail_Transfer_Reports",
17681 "group": "Mail_Transfer_Reports",
17682 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17683 "version": "0.0.0",
17684 "filename": "server/api/mailTransferReport/index.js",
17685 "groupTitle": "Mail_Transfer_Reports"
17689 "url": "/api/mail/reports/transfer/{id}",
17690 "title": "Update an existing Mail Transfer Report",
17693 "title": "Example usage:",
17694 "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",
17698 "name": "updateMail_Transfer_Reports",
17699 "group": "Mail_Transfer_Reports",
17700 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17701 "version": "0.0.0",
17702 "filename": "server/api/mailTransferReport/index.js",
17703 "groupTitle": "Mail_Transfer_Reports"
17707 "url": "/api/members/reports/describe",
17708 "title": "Gets table info about Member Reports",
17711 "title": "Example usage:",
17712 "content": "curl https://{domain}/api/members/reports/describe -v -u {name}:{password}",
17716 "name": "DescribeMember_Reports",
17717 "group": "Member_Reports",
17718 "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>",
17719 "version": "0.0.0",
17720 "filename": "server/api/memberReport/index.js",
17721 "groupTitle": "Member_Reports"
17725 "url": "/api/members/reports",
17726 "title": "Gets a list of Member Reports",
17729 "title": "Example usage:",
17730 "content": "curl https://{domain}/api/members/reports -v -u {name}:{password}",
17734 "name": "GetMember_Reports",
17735 "group": "Member_Reports",
17736 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17737 "version": "0.0.0",
17738 "filename": "server/api/memberReport/index.js",
17739 "groupTitle": "Member_Reports"
17743 "url": "/api/members/reports/{id}",
17744 "title": "Gets a single Member Report",
17747 "title": "Example usage:",
17748 "content": "curl https://{domain}/api/members/reports/{id} -v -u {name}:{password}",
17752 "name": "ShowMember_Reports",
17753 "group": "Member_Reports",
17754 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17755 "version": "0.0.0",
17756 "filename": "server/api/memberReport/index.js",
17757 "groupTitle": "Member_Reports"
17761 "url": "/api/migrations",
17762 "title": "Gets a list of Migrations",
17765 "title": "Example usage:",
17766 "content": "curl https://{domain}/api/migrations -v -u {name}:{password}",
17770 "name": "GetMigrations",
17771 "group": "Migrations",
17772 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17773 "version": "0.0.0",
17774 "filename": "server/api/migration/index.js",
17775 "groupTitle": "Migrations"
17779 "url": "/api/voice/networks",
17780 "title": "Create a new network",
17783 "title": "Example usage:",
17784 "content": "curl https://{domain}/api/voice/networks -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17789 "group": "Networks",
17790 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17791 "version": "0.0.0",
17792 "filename": "server/api/network/index.js",
17793 "groupTitle": "Networks"
17797 "url": "/api/voice/networks/{id}",
17798 "title": "Deletes a network",
17801 "title": "Example usage:",
17802 "content": "curl https://{domain}/api/voice/networks/{id} -v -u {name}:{password} -X DELETE",
17807 "group": "Networks",
17808 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17809 "version": "0.0.0",
17810 "filename": "server/api/network/index.js",
17811 "groupTitle": "Networks"
17815 "url": "/api/networks",
17816 "title": "Gets a list of Networks",
17819 "title": "Example usage:",
17820 "content": "curl https://{domain}/api/networks -v -u {name}:{password}",
17824 "name": "GetNetworks",
17825 "group": "Networks",
17826 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17827 "version": "0.0.0",
17828 "filename": "server/api/network/index.js",
17829 "groupTitle": "Networks"
17833 "url": "/api/networks/{id}",
17834 "title": "Gets a single Network",
17837 "title": "Example usage:",
17838 "content": "curl https://{domain}/api/networks/{id} -v -u {name}:{password}",
17842 "name": "ShowNetworks",
17843 "group": "Networks",
17844 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17845 "version": "0.0.0",
17846 "filename": "server/api/network/index.js",
17847 "groupTitle": "Networks"
17851 "url": "/api/voice/networks/{id}",
17852 "title": "Update an existing network",
17855 "title": "Example usage:",
17856 "content": "curl https://{domain}/api/voice/networks/{id} -v -u {name}:{password} -X PUT",
17861 "group": "Networks",
17862 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17863 "version": "0.0.0",
17864 "filename": "server/api/network/index.js",
17865 "groupTitle": "Networks"
17869 "url": "/api/openchannel/accounts/{id}/users",
17870 "title": "Add agents to a openchannel account",
17873 "title": "Example usage:",
17874 "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",
17878 "name": "AddAgents",
17879 "group": "Openchannel_Accounts",
17880 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17881 "version": "0.0.0",
17882 "filename": "server/api/openchannelAccount/index.js",
17883 "groupTitle": "Openchannel_Accounts"
17887 "url": "/api/openchannel/accounts",
17888 "title": "Creates a new Account",
17891 "title": "Example usage:",
17892 "content": "curl https://{domain}/api/openchannel/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17896 "name": "CreateAccounts",
17897 "group": "Openchannel_Accounts",
17912 "field": "description",
17926 "field": "replyUri",
17940 "field": "notificationTemplate",
17947 "field": "notificationSound",
17954 "field": "notificationShake",
17961 "field": "waitForTheAssignedAgent",
17975 "field": "queueTransfer",
17982 "field": "queueTransferTimeout",
17989 "field": "agentTransfer",
17996 "field": "agentTransferTimeout",
18003 "field": "mandatoryDispositionPauseId",
18004 "description": "<p>Status to put when mandatory disposition is enabled</p>"
18010 "field": "mandatoryDisposition",
18011 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
18016 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18017 "version": "0.0.0",
18018 "filename": "server/api/openchannelAccount/index.js",
18019 "groupTitle": "Openchannel_Accounts"
18023 "url": "/api/openchannel/accounts/{id}",
18024 "title": "Deletes a Account",
18027 "title": "Example usage:",
18028 "content": "curl https://{domain}/api/openchannel/accounts/{id} -v -u {name}:{password} -X DELETE",
18032 "name": "DeleteAccounts",
18033 "group": "Openchannel_Accounts",
18034 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18035 "version": "0.0.0",
18036 "filename": "server/api/openchannelAccount/index.js",
18037 "groupTitle": "Openchannel_Accounts"
18041 "url": "/api/openchannel/accounts/describe",
18042 "title": "Gets table info about Accounts",
18045 "title": "Example usage:",
18046 "content": "curl https://{domain}/api/openchannel/accounts/describe -v -u {name}:{password}",
18050 "name": "DescribeAccounts",
18051 "group": "Openchannel_Accounts",
18052 "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>",
18053 "version": "0.0.0",
18054 "filename": "server/api/openchannelAccount/index.js",
18055 "groupTitle": "Openchannel_Accounts"
18059 "url": "/api/openchannel/accounts",
18060 "title": "Gets a list of Accounts",
18063 "title": "Example usage:",
18064 "content": "curl https://{domain}/api/openchannel/accounts -v -u {name}:{password}",
18068 "name": "GetAccounts",
18069 "group": "Openchannel_Accounts",
18070 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
18071 "version": "0.0.0",
18072 "filename": "server/api/openchannelAccount/index.js",
18073 "groupTitle": "Openchannel_Accounts"
18077 "url": "/api/openchannel/accounts/{id}/users",
18078 "title": "Gets agents from openchannel account",
18081 "title": "Example usage:",
18082 "content": "curl https://{domain}/api/openchannel/accounts/{id}/users -v -u {name}:{password} -X GET",
18086 "name": "GetAgents",
18087 "group": "Openchannel_Accounts",
18088 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18089 "version": "0.0.0",
18090 "filename": "server/api/openchannelAccount/index.js",
18091 "groupTitle": "Openchannel_Accounts"
18095 "url": "/api/openchannel/accounts/{id}/users",
18096 "title": "Removes agents from a openchannel account",
18099 "title": "Example usage:",
18100 "content": "curl https://{domain}/api/openchannel/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18104 "name": "RemoveAgents",
18105 "group": "Openchannel_Accounts",
18106 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18107 "version": "0.0.0",
18108 "filename": "server/api/openchannelAccount/index.js",
18109 "groupTitle": "Openchannel_Accounts"
18113 "url": "/api/openchannel/accounts/{id}/canned_answers",
18114 "title": "Removes canned answers from account",
18117 "title": "Example usage:",
18118 "content": "curl https://{domain}/api/openchannel/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18122 "name": "RemoveAnswers",
18123 "group": "Openchannel_Accounts",
18124 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18125 "version": "0.0.0",
18126 "filename": "server/api/openchannelAccount/index.js",
18127 "groupTitle": "Openchannel_Accounts"
18131 "url": "/api/openchannel/accounts/{id}/dispositions",
18132 "title": "Removes dispositions from account",
18135 "title": "Example usage:",
18136 "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18140 "name": "RemoveDispositions",
18141 "group": "Openchannel_Accounts",
18142 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18143 "version": "0.0.0",
18144 "filename": "server/api/openchannelAccount/index.js",
18145 "groupTitle": "Openchannel_Accounts"
18149 "url": "/api/openchannel/accounts/{id}",
18150 "title": "Gets a single Account",
18153 "title": "Example usage:",
18154 "content": "curl https://{domain}/api/openchannel/accounts/{id} -v -u {name}:{password}",
18158 "name": "ShowAccounts",
18159 "group": "Openchannel_Accounts",
18160 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18161 "version": "0.0.0",
18162 "filename": "server/api/openchannelAccount/index.js",
18163 "groupTitle": "Openchannel_Accounts"
18167 "url": "/api/openchannel/accounts/{id}/canned_answers",
18168 "title": "Creates new canned answer",
18171 "title": "Example usage:",
18172 "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",
18176 "name": "addAnswer",
18177 "group": "Openchannel_Accounts",
18199 "field": "description",
18212 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18213 "version": "0.0.0",
18214 "filename": "server/api/openchannelAccount/index.js",
18215 "groupTitle": "Openchannel_Accounts"
18219 "url": "/api/openchannel/accounts/{id}/applications",
18220 "title": "Creates new applications",
18223 "title": "Example usage:",
18224 "content": "curl https://{domain}/api/openchannel/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18228 "name": "addApplications",
18229 "group": "Openchannel_Accounts",
18237 "field": "priority",
18251 "field": "appdata",
18258 "field": "description",
18265 "field": "interval",
18271 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18272 "version": "0.0.0",
18273 "filename": "server/api/openchannelAccount/index.js",
18274 "groupTitle": "Openchannel_Accounts"
18278 "url": "/api/openchannel/accounts/{id}/dispositions",
18279 "title": "Creates new disposition",
18282 "title": "Example usage:",
18283 "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18287 "name": "addDisposition",
18288 "group": "Openchannel_Accounts",
18315 "field": "description",
18321 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18322 "version": "0.0.0",
18323 "filename": "server/api/openchannelAccount/index.js",
18324 "groupTitle": "Openchannel_Accounts"
18328 "url": "/api/openchannel/accounts/{id}/canned_answers",
18329 "title": "Gets account canned answers",
18332 "title": "Example usage:",
18333 "content": "curl https://{domain}/api/openchannel/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
18337 "name": "getAnswers",
18338 "group": "Openchannel_Accounts",
18339 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18340 "version": "0.0.0",
18341 "filename": "server/api/openchannelAccount/index.js",
18342 "groupTitle": "Openchannel_Accounts"
18346 "url": "/api/openchannel/accounts/{id}/applications",
18347 "title": "Gets account applications",
18350 "title": "Example usage:",
18351 "content": "curl https://{domain}/api/openchannel/accounts/{id}/applications -v -u {name}:{password} -X GET",
18355 "name": "getApplications",
18356 "group": "Openchannel_Accounts",
18357 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18358 "version": "0.0.0",
18359 "filename": "server/api/openchannelAccount/index.js",
18360 "groupTitle": "Openchannel_Accounts"
18364 "url": "/api/openchannel/accounts/{id}/dispositions",
18365 "title": "Gets account dispositions",
18368 "title": "Example usage:",
18369 "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
18373 "name": "getDispositions",
18374 "group": "Openchannel_Accounts",
18375 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18376 "version": "0.0.0",
18377 "filename": "server/api/openchannelAccount/index.js",
18378 "groupTitle": "Openchannel_Accounts"
18382 "url": "/api/openchannel/accounts/{id}/interactions",
18383 "title": "Gets Openchannel Account Interactions",
18386 "title": "Example usage:",
18387 "content": "curl https://{domain}/api/openchannel/accounts/{id}/interactions -v -u {name}:{password} -X GET",
18391 "name": "getInteractions",
18392 "group": "Openchannel_Accounts",
18393 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18394 "version": "0.0.0",
18395 "filename": "server/api/openchannelAccount/index.js",
18396 "groupTitle": "Openchannel_Accounts"
18400 "url": "/api/openchannel/accounts/{id}/notify",
18401 "title": "Notify new message",
18404 "title": "Example usage:",
18405 "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",
18410 "group": "Openchannel_Accounts",
18411 "description": "<p>Motion 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>",
18412 "version": "0.0.0",
18413 "filename": "server/api/openchannelAccount/index.js",
18414 "groupTitle": "Openchannel_Accounts"
18418 "url": "/api/openchannel/accounts/{id}/send",
18419 "title": "Send new openchannel message",
18422 "title": "Example usage:",
18423 "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",
18427 "name": "sendOpenchannel",
18428 "group": "Openchannel_Accounts",
18429 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18430 "version": "0.0.0",
18431 "filename": "server/api/openchannelAccount/index.js",
18432 "groupTitle": "Openchannel_Accounts"
18436 "url": "/api/openchannel/accounts/{id}",
18437 "title": "Update an existing Account",
18440 "title": "Example usage:",
18441 "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",
18445 "name": "updateAccounts",
18446 "group": "Openchannel_Accounts",
18447 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18448 "version": "0.0.0",
18449 "filename": "server/api/openchannelAccount/index.js",
18450 "groupTitle": "Openchannel_Accounts"
18454 "url": "/api/openchannel/applications",
18455 "title": "Creates a new Application",
18458 "title": "Example usage:",
18459 "content": "curl https://{domain}/api/openchannel/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18463 "name": "CreateApplications",
18464 "group": "Openchannel_Applications",
18472 "field": "priority",
18486 "field": "appdata",
18493 "field": "description",
18500 "field": "interval",
18506 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18507 "version": "0.0.0",
18508 "filename": "server/api/openchannelApplication/index.js",
18509 "groupTitle": "Openchannel_Applications"
18513 "url": "/api/openchannel/applications/{id}",
18514 "title": "Deletes a Application",
18517 "title": "Example usage:",
18518 "content": "curl https://{domain}/api/openchannel/applications/{id} -v -u {name}:{password} -X DELETE",
18522 "name": "DeleteApplications",
18523 "group": "Openchannel_Applications",
18524 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18525 "version": "0.0.0",
18526 "filename": "server/api/openchannelApplication/index.js",
18527 "groupTitle": "Openchannel_Applications"
18531 "url": "/api/openchannel/applications",
18532 "title": "Gets a list of Applications",
18535 "title": "Example usage:",
18536 "content": "curl https://{domain}/api/openchannel/applications -v -u {name}:{password}",
18540 "name": "GetApplications",
18541 "group": "Openchannel_Applications",
18542 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
18543 "version": "0.0.0",
18544 "filename": "server/api/openchannelApplication/index.js",
18545 "groupTitle": "Openchannel_Applications"
18549 "url": "/api/openchannel/applications/{id}",
18550 "title": "Gets a single Application",
18553 "title": "Example usage:",
18554 "content": "curl https://{domain}/api/openchannel/applications/{id} -v -u {name}:{password}",
18558 "name": "ShowApplications",
18559 "group": "Openchannel_Applications",
18560 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18561 "version": "0.0.0",
18562 "filename": "server/api/openchannelApplication/index.js",
18563 "groupTitle": "Openchannel_Applications"
18567 "url": "/api/openchannel/applications/{id}",
18568 "title": "Update an existing Application",
18571 "title": "Example usage:",
18572 "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",
18576 "name": "updateApplications",
18577 "group": "Openchannel_Applications",
18578 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18579 "version": "0.0.0",
18580 "filename": "server/api/openchannelApplication/index.js",
18581 "groupTitle": "Openchannel_Applications"
18585 "url": "/api/openchannel/interactions/{id}/tags",
18586 "title": "Add tags to the interaction",
18589 "title": "Example usage:",
18590 "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",
18595 "group": "Openchannel_Interactions",
18596 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18597 "version": "0.0.0",
18598 "filename": "server/api/openchannelInteraction/index.js",
18599 "groupTitle": "Openchannel_Interactions"
18603 "url": "/api/openchannel/interactions",
18604 "title": "Creates a new Interaction",
18607 "title": "Example usage:",
18608 "content": "curl https://{domain}/api/openchannel/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18612 "name": "CreateInteractions",
18613 "group": "Openchannel_Interactions",
18628 "field": "closedAt",
18635 "field": "disposition",
18642 "field": "secondDisposition",
18649 "field": "thirdDisposition",
18663 "field": "read1stAt",
18670 "field": "threadId",
18677 "field": "externalUrl",
18684 "field": "lastMsgAt",
18695 "field": "lastMsgDirection",
18708 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18709 "version": "0.0.0",
18710 "filename": "server/api/openchannelInteraction/index.js",
18711 "groupTitle": "Openchannel_Interactions"
18715 "url": "/api/openchannel/interactions/{id}",
18716 "title": "Deletes a Interaction",
18719 "title": "Example usage:",
18720 "content": "curl https://{domain}/api/openchannel/interactions/{id} -v -u {name}:{password} -X DELETE",
18724 "name": "DeleteInteractions",
18725 "group": "Openchannel_Interactions",
18726 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18727 "version": "0.0.0",
18728 "filename": "server/api/openchannelInteraction/index.js",
18729 "groupTitle": "Openchannel_Interactions"
18733 "url": "/api/openchannel/interactions/describe",
18734 "title": "Gets table info about Interactions",
18737 "title": "Example usage:",
18738 "content": "curl https://{domain}/api/openchannel/interactions/describe -v -u {name}:{password}",
18742 "name": "DescribeInteractions",
18743 "group": "Openchannel_Interactions",
18744 "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>",
18745 "version": "0.0.0",
18746 "filename": "server/api/openchannelInteraction/index.js",
18747 "groupTitle": "Openchannel_Interactions"
18751 "url": "/api/openchannel/interactions",
18752 "title": "Gets a list of Interactions",
18755 "title": "Example usage:",
18756 "content": "curl https://{domain}/api/openchannel/interactions -v -u {name}:{password}",
18760 "name": "GetInteractions",
18761 "group": "Openchannel_Interactions",
18762 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
18763 "version": "0.0.0",
18764 "filename": "server/api/openchannelInteraction/index.js",
18765 "groupTitle": "Openchannel_Interactions"
18769 "url": "/api/openchannel/interactions/{id}/tags",
18770 "title": "Removes tags from interaction",
18773 "title": "Example usage:",
18774 "content": "curl https://{domain}/api/openchannel/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18778 "name": "RemoveTags",
18779 "group": "Openchannel_Interactions",
18780 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18781 "version": "0.0.0",
18782 "filename": "server/api/openchannelInteraction/index.js",
18783 "groupTitle": "Openchannel_Interactions"
18787 "url": "/api/openchannel/interactions/{id}",
18788 "title": "Gets a single Interaction",
18791 "title": "Example usage:",
18792 "content": "curl https://{domain}/api/openchannel/interactions/{id} -v -u {name}:{password}",
18796 "name": "ShowInteractions",
18797 "group": "Openchannel_Interactions",
18798 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18799 "version": "0.0.0",
18800 "filename": "server/api/openchannelInteraction/index.js",
18801 "groupTitle": "Openchannel_Interactions"
18805 "url": "/api/openchannel/interactions/{id}/messages",
18806 "title": "Creates new messages",
18809 "title": "Example usage:",
18810 "content": "curl https://{domain}/api/openchannel/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18814 "name": "addMessage",
18815 "group": "Openchannel_Interactions",
18848 "field": "direction",
18862 "field": "providerName",
18869 "field": "providerResponse",
18875 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18876 "version": "0.0.0",
18877 "filename": "server/api/openchannelInteraction/index.js",
18878 "groupTitle": "Openchannel_Interactions"
18882 "url": "/api/openchannel/interactions/{id}/download",
18883 "title": "Gets interaction",
18886 "title": "Example usage:",
18887 "content": "curl https://{domain}/api/openchannel/interactions/{id}/download -v -u {name}:{password} -X GET",
18891 "name": "download",
18892 "group": "Openchannel_Interactions",
18893 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18894 "version": "0.0.0",
18895 "filename": "server/api/openchannelInteraction/index.js",
18896 "groupTitle": "Openchannel_Interactions"
18900 "url": "/api/openchannel/interactions/{id}/messages",
18901 "title": "Gets interaction messages",
18904 "title": "Example usage:",
18905 "content": "curl https://{domain}/api/openchannel/interactions/{id}/messages -v -u {name}:{password} -X GET",
18909 "name": "getMessages",
18910 "group": "Openchannel_Interactions",
18911 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18912 "version": "0.0.0",
18913 "filename": "server/api/openchannelInteraction/index.js",
18914 "groupTitle": "Openchannel_Interactions"
18918 "url": "/api/openchannel/interactions/{id}",
18919 "title": "Update an existing Interaction",
18922 "title": "Example usage:",
18923 "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",
18927 "name": "updateInteractions",
18928 "group": "Openchannel_Interactions",
18929 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18930 "version": "0.0.0",
18931 "filename": "server/api/openchannelInteraction/index.js",
18932 "groupTitle": "Openchannel_Interactions"
18936 "url": "/api/openchannel/messages",
18937 "title": "Creates a new Message",
18940 "title": "Example usage:",
18941 "content": "curl https://{domain}/api/openchannel/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18945 "name": "CreateMessages",
18946 "group": "Openchannel_Messages",
18979 "field": "direction",
18993 "field": "providerName",
19000 "field": "providerResponse",
19006 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19007 "version": "0.0.0",
19008 "filename": "server/api/openchannelMessage/index.js",
19009 "groupTitle": "Openchannel_Messages"
19013 "url": "/api/openchannel/messages/{id}",
19014 "title": "Deletes a Message",
19017 "title": "Example usage:",
19018 "content": "curl https://{domain}/api/openchannel/messages/{id} -v -u {name}:{password} -X DELETE",
19022 "name": "DeleteMessages",
19023 "group": "Openchannel_Messages",
19024 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19025 "version": "0.0.0",
19026 "filename": "server/api/openchannelMessage/index.js",
19027 "groupTitle": "Openchannel_Messages"
19031 "url": "/api/openchannel/messages/describe",
19032 "title": "Gets table info about Messages",
19035 "title": "Example usage:",
19036 "content": "curl https://{domain}/api/openchannel/messages/describe -v -u {name}:{password}",
19040 "name": "DescribeMessages",
19041 "group": "Openchannel_Messages",
19042 "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>",
19043 "version": "0.0.0",
19044 "filename": "server/api/openchannelMessage/index.js",
19045 "groupTitle": "Openchannel_Messages"
19049 "url": "/api/openchannel/messages",
19050 "title": "Gets a list of Messages",
19053 "title": "Example usage:",
19054 "content": "curl https://{domain}/api/openchannel/messages -v -u {name}:{password}",
19058 "name": "GetMessages",
19059 "group": "Openchannel_Messages",
19060 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
19061 "version": "0.0.0",
19062 "filename": "server/api/openchannelMessage/index.js",
19063 "groupTitle": "Openchannel_Messages"
19067 "url": "/api/openchannel/messages/{id}",
19068 "title": "Gets a single Message",
19071 "title": "Example usage:",
19072 "content": "curl https://{domain}/api/openchannel/messages/{id} -v -u {name}:{password}",
19076 "name": "ShowMessages",
19077 "group": "Openchannel_Messages",
19078 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19079 "version": "0.0.0",
19080 "filename": "server/api/openchannelMessage/index.js",
19081 "groupTitle": "Openchannel_Messages"
19085 "url": "/api/openchannel/messages/{id}/accept",
19086 "title": "Accepts message",
19089 "title": "Example usage:",
19090 "content": "curl https://{domain}/api/openchannel/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
19094 "name": "acceptMessage",
19095 "group": "Openchannel_Messages",
19096 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19097 "version": "0.0.0",
19098 "filename": "server/api/openchannelMessage/index.js",
19099 "groupTitle": "Openchannel_Messages"
19103 "url": "/api/openchannel/messages/{id}/reject",
19104 "title": "Rejects message",
19107 "title": "Example usage:",
19108 "content": "curl https://{domain}/api/openchannel/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
19112 "name": "rejectMessage",
19113 "group": "Openchannel_Messages",
19114 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19115 "version": "0.0.0",
19116 "filename": "server/api/openchannelMessage/index.js",
19117 "groupTitle": "Openchannel_Messages"
19121 "url": "/api/openchannel/messages/{id}",
19122 "title": "Update an existing Message",
19125 "title": "Example usage:",
19126 "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",
19130 "name": "updateMessages",
19131 "group": "Openchannel_Messages",
19132 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19133 "version": "0.0.0",
19134 "filename": "server/api/openchannelMessage/index.js",
19135 "groupTitle": "Openchannel_Messages"
19139 "url": "/api/openchannel/reports/queue",
19140 "title": "Creates a new Openchannel Queue Report",
19143 "title": "Example usage:",
19144 "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",
19148 "name": "CreateOpenchannel_Queue_Reports",
19149 "group": "Openchannel_Queue_Reports",
19157 "field": "uniqueid",
19178 "field": "leaveAt",
19185 "field": "acceptAt",
19205 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19206 "version": "0.0.0",
19207 "filename": "server/api/openchannelQueueReport/index.js",
19208 "groupTitle": "Openchannel_Queue_Reports"
19212 "url": "/api/openchannel/reports/queue/{id}",
19213 "title": "Deletes a Openchannel Queue Report",
19216 "title": "Example usage:",
19217 "content": "curl https://{domain}/api/openchannel/reports/queue/{id} -v -u {name}:{password} -X DELETE",
19221 "name": "DeleteOpenchannel_Queue_Reports",
19222 "group": "Openchannel_Queue_Reports",
19223 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19224 "version": "0.0.0",
19225 "filename": "server/api/openchannelQueueReport/index.js",
19226 "groupTitle": "Openchannel_Queue_Reports"
19230 "url": "/api/openchannel/reports/queue/describe",
19231 "title": "Gets table info about Openchannel Queue Reports",
19234 "title": "Example usage:",
19235 "content": "curl https://{domain}/api/openchannel/reports/queue/describe -v -u {name}:{password}",
19239 "name": "DescribeOpenchannel_Queue_Reports",
19240 "group": "Openchannel_Queue_Reports",
19241 "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>",
19242 "version": "0.0.0",
19243 "filename": "server/api/openchannelQueueReport/index.js",
19244 "groupTitle": "Openchannel_Queue_Reports"
19248 "url": "/api/openchannel/reports/queue",
19249 "title": "Gets a list of Openchannel Queue Reports",
19252 "title": "Example usage:",
19253 "content": "curl https://{domain}/api/openchannel/reports/queue -v -u {name}:{password}",
19257 "name": "GetOpenchannel_Queue_Reports",
19258 "group": "Openchannel_Queue_Reports",
19259 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
19260 "version": "0.0.0",
19261 "filename": "server/api/openchannelQueueReport/index.js",
19262 "groupTitle": "Openchannel_Queue_Reports"
19266 "url": "/api/openchannel/reports/queue/{id}",
19267 "title": "Gets a single Openchannel Queue Report",
19270 "title": "Example usage:",
19271 "content": "curl https://{domain}/api/openchannel/reports/queue/{id} -v -u {name}:{password}",
19275 "name": "ShowOpenchannel_Queue_Reports",
19276 "group": "Openchannel_Queue_Reports",
19277 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19278 "version": "0.0.0",
19279 "filename": "server/api/openchannelQueueReport/index.js",
19280 "groupTitle": "Openchannel_Queue_Reports"
19284 "url": "/api/openchannel/reports/queue/{id}",
19285 "title": "Update an existing Openchannel Queue Report",
19288 "title": "Example usage:",
19289 "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",
19293 "name": "updateOpenchannel_Queue_Reports",
19294 "group": "Openchannel_Queue_Reports",
19295 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19296 "version": "0.0.0",
19297 "filename": "server/api/openchannelQueueReport/index.js",
19298 "groupTitle": "Openchannel_Queue_Reports"
19302 "url": "/api/openchannel/queues/{id}/users",
19303 "title": "Add agents to a queue",
19306 "title": "Example usage:",
19307 "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",
19311 "name": "AddAgents",
19312 "group": "Openchannel_Queues",
19313 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19314 "version": "0.0.0",
19315 "filename": "server/api/openchannelQueue/index.js",
19316 "groupTitle": "Openchannel_Queues"
19320 "url": "/api/openchannel/queues/{id}/teams",
19321 "title": "Add teams to a queue",
19324 "title": "Example usage:",
19325 "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",
19329 "name": "AddTeams",
19330 "group": "Openchannel_Queues",
19331 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19332 "version": "0.0.0",
19333 "filename": "server/api/openchannelQueue/index.js",
19334 "groupTitle": "Openchannel_Queues"
19338 "url": "/api/openchannel/queues",
19339 "title": "Creates a new Queue",
19342 "title": "Example usage:",
19343 "content": "curl https://{domain}/api/openchannel/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
19347 "name": "CreateQueues",
19348 "group": "Openchannel_Queues",
19363 "field": "description",
19370 "field": "timeout",
19382 "field": "strategy",
19388 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19389 "version": "0.0.0",
19390 "filename": "server/api/openchannelQueue/index.js",
19391 "groupTitle": "Openchannel_Queues"
19395 "url": "/api/openchannel/queues/{id}",
19396 "title": "Deletes a Queue",
19399 "title": "Example usage:",
19400 "content": "curl https://{domain}/api/openchannel/queues/{id} -v -u {name}:{password} -X DELETE",
19404 "name": "DeleteQueues",
19405 "group": "Openchannel_Queues",
19406 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19407 "version": "0.0.0",
19408 "filename": "server/api/openchannelQueue/index.js",
19409 "groupTitle": "Openchannel_Queues"
19413 "url": "/api/openchannel/queues/describe",
19414 "title": "Gets table info about Queues",
19417 "title": "Example usage:",
19418 "content": "curl https://{domain}/api/openchannel/queues/describe -v -u {name}:{password}",
19422 "name": "DescribeQueues",
19423 "group": "Openchannel_Queues",
19424 "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>",
19425 "version": "0.0.0",
19426 "filename": "server/api/openchannelQueue/index.js",
19427 "groupTitle": "Openchannel_Queues"
19431 "url": "/api/openchannel/queues/{id}/users",
19432 "title": "Gets queue agents",
19435 "title": "Example usage:",
19436 "content": "curl https://{domain}/api/openchannel/queues/{id}/users -v -u {name}:{password} -X POST",
19440 "name": "GetAgents",
19441 "group": "Openchannel_Queues",
19442 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19443 "version": "0.0.0",
19444 "filename": "server/api/openchannelQueue/index.js",
19445 "groupTitle": "Openchannel_Queues"
19449 "url": "/api/openchannel/queues/{id}/members",
19450 "title": "GetMembers",
19453 "title": "Example usage:",
19454 "content": "curl https://{domain}/api/openchannel/queues/{id}/members -v -u {name}:{password}",
19458 "name": "GetMembers",
19459 "group": "Openchannel_Queues",
19460 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19461 "version": "0.0.0",
19462 "filename": "server/api/openchannelQueue/index.js",
19463 "groupTitle": "Openchannel_Queues"
19467 "url": "/api/openchannel/queues",
19468 "title": "Gets a list of Queues",
19471 "title": "Example usage:",
19472 "content": "curl https://{domain}/api/openchannel/queues -v -u {name}:{password}",
19476 "name": "GetQueues",
19477 "group": "Openchannel_Queues",
19478 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
19479 "version": "0.0.0",
19480 "filename": "server/api/openchannelQueue/index.js",
19481 "groupTitle": "Openchannel_Queues"
19485 "url": "/api/openchannel/queues/{id}/teams",
19486 "title": "Gets queues list",
19489 "title": "Example usage:",
19490 "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password}",
19494 "name": "GetTeams",
19495 "group": "Openchannel_Queues",
19496 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19497 "version": "0.0.0",
19498 "filename": "server/api/openchannelQueue/index.js",
19499 "groupTitle": "Openchannel_Queues"
19503 "url": "/api/openchannel/queues/{id}/users",
19504 "title": "Removes agents from a queue",
19507 "title": "Example usage:",
19508 "content": "curl https://{domain}/api/openchannel/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
19512 "name": "RemoveAgents",
19513 "group": "Openchannel_Queues",
19514 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19515 "version": "0.0.0",
19516 "filename": "server/api/openchannelQueue/index.js",
19517 "groupTitle": "Openchannel_Queues"
19521 "url": "/api/openchannel/queues/{id}",
19522 "title": "Gets a single Queue",
19525 "title": "Example usage:",
19526 "content": "curl https://{domain}/api/openchannel/queues/{id} -v -u {name}:{password}",
19530 "name": "ShowQueues",
19531 "group": "Openchannel_Queues",
19532 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19533 "version": "0.0.0",
19534 "filename": "server/api/openchannelQueue/index.js",
19535 "groupTitle": "Openchannel_Queues"
19539 "url": "/api/openchannel/queues/{id}",
19540 "title": "Update an existing Queue",
19543 "title": "Example usage:",
19544 "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",
19548 "name": "updateQueues",
19549 "group": "Openchannel_Queues",
19550 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19551 "version": "0.0.0",
19552 "filename": "server/api/openchannelQueue/index.js",
19553 "groupTitle": "Openchannel_Queues"
19557 "url": "/api/openchannel/reports/transfer",
19558 "title": "Creates a new Openchannel Transfer Report",
19561 "title": "Example usage:",
19562 "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",
19566 "name": "CreateOpenchannel_Transfer_Reports",
19567 "group": "Openchannel_Transfer_Reports",
19575 "field": "uniqueid",
19594 "field": "transferredAt",
19600 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19601 "version": "0.0.0",
19602 "filename": "server/api/openchannelTransferReport/index.js",
19603 "groupTitle": "Openchannel_Transfer_Reports"
19607 "url": "/api/openchannel/reports/transfer/{id}",
19608 "title": "Deletes a Openchannel Transfer Report",
19611 "title": "Example usage:",
19612 "content": "curl https://{domain}/api/openchannel/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
19616 "name": "DeleteOpenchannel_Transfer_Reports",
19617 "group": "Openchannel_Transfer_Reports",
19618 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19619 "version": "0.0.0",
19620 "filename": "server/api/openchannelTransferReport/index.js",
19621 "groupTitle": "Openchannel_Transfer_Reports"
19625 "url": "/api/openchannel/reports/transfer/describe",
19626 "title": "Gets table info about Openchannel Transfer Reports",
19629 "title": "Example usage:",
19630 "content": "curl https://{domain}/api/openchannel/reports/transfer/describe -v -u {name}:{password}",
19634 "name": "DescribeOpenchannel_Transfer_Reports",
19635 "group": "Openchannel_Transfer_Reports",
19636 "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>",
19637 "version": "0.0.0",
19638 "filename": "server/api/openchannelTransferReport/index.js",
19639 "groupTitle": "Openchannel_Transfer_Reports"
19643 "url": "/api/openchannel/reports/transfer",
19644 "title": "Gets a list of Openchannel Transfer Reports",
19647 "title": "Example usage:",
19648 "content": "curl https://{domain}/api/openchannel/reports/transfer -v -u {name}:{password}",
19652 "name": "GetOpenchannel_Transfer_Reports",
19653 "group": "Openchannel_Transfer_Reports",
19654 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
19655 "version": "0.0.0",
19656 "filename": "server/api/openchannelTransferReport/index.js",
19657 "groupTitle": "Openchannel_Transfer_Reports"
19661 "url": "/api/openchannel/reports/transfer/{id}",
19662 "title": "Gets a single Openchannel Transfer Report",
19665 "title": "Example usage:",
19666 "content": "curl https://{domain}/api/openchannel/reports/transfer/{id} -v -u {name}:{password}",
19670 "name": "ShowOpenchannel_Transfer_Reports",
19671 "group": "Openchannel_Transfer_Reports",
19672 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19673 "version": "0.0.0",
19674 "filename": "server/api/openchannelTransferReport/index.js",
19675 "groupTitle": "Openchannel_Transfer_Reports"
19679 "url": "/api/openchannel/reports/transfer/{id}",
19680 "title": "Update an existing Openchannel Transfer Report",
19683 "title": "Example usage:",
19684 "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",
19688 "name": "updateOpenchannel_Transfer_Reports",
19689 "group": "Openchannel_Transfer_Reports",
19690 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19691 "version": "0.0.0",
19692 "filename": "server/api/openchannelTransferReport/index.js",
19693 "groupTitle": "Openchannel_Transfer_Reports"
19697 "url": "/api/pauses",
19698 "title": "Creates a new Pause",
19701 "title": "Example usage:",
19702 "content": "curl https://{domain}/api/pauses -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
19706 "name": "CreatePauses",
19722 "field": "description",
19728 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19729 "version": "0.0.0",
19730 "filename": "server/api/pause/index.js",
19731 "groupTitle": "Pauses"
19735 "url": "/api/pauses/{id}",
19736 "title": "Deletes a Pause",
19739 "title": "Example usage:",
19740 "content": "curl https://{domain}/api/pauses/{id} -v -u {name}:{password} -X DELETE",
19744 "name": "DeletePauses",
19746 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19747 "version": "0.0.0",
19748 "filename": "server/api/pause/index.js",
19749 "groupTitle": "Pauses"
19753 "url": "/api/pauses",
19754 "title": "Gets a list of Pauses",
19757 "title": "Example usage:",
19758 "content": "curl https://{domain}/api/pauses -v -u {name}:{password}",
19762 "name": "GetPauses",
19764 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
19765 "version": "0.0.0",
19766 "filename": "server/api/pause/index.js",
19767 "groupTitle": "Pauses"
19771 "url": "/api/pauses/{id}",
19772 "title": "Gets a single Pause",
19775 "title": "Example usage:",
19776 "content": "curl https://{domain}/api/pauses/{id} -v -u {name}:{password}",
19780 "name": "ShowPauses",
19782 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19783 "version": "0.0.0",
19784 "filename": "server/api/pause/index.js",
19785 "groupTitle": "Pauses"
19789 "url": "/api/pauses/{id}",
19790 "title": "Update an existing Pause",
19793 "title": "Example usage:",
19794 "content": "curl https://{domain}/api/pauses/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
19798 "name": "updatePauses",
19800 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19801 "version": "0.0.0",
19802 "filename": "server/api/pause/index.js",
19803 "groupTitle": "Pauses"
19807 "url": "/api/plugins",
19808 "title": "Gets a list of Plugins",
19811 "title": "Example usage:",
19812 "content": "curl https://{domain}/api/plugins -v -u {name}:{password}",
19816 "name": "GetPlugins",
19817 "group": "Plugins",
19818 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
19819 "version": "0.0.0",
19820 "filename": "server/api/plugin/index.js",
19821 "groupTitle": "Plugins"
19825 "url": "/api/plugins/{id}",
19826 "title": "Gets a single Plugin",
19829 "title": "Example usage:",
19830 "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password}",
19834 "name": "ShowPlugins",
19835 "group": "Plugins",
19836 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19837 "version": "0.0.0",
19838 "filename": "server/api/plugin/index.js",
19839 "groupTitle": "Plugins"
19843 "url": "/api/plugins/{id}",
19844 "title": "Delete a plugin",
19847 "title": "Example usage:",
19848 "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password} -X DELETE",
19852 "name": "destroyPlugin",
19853 "group": "Plugins",
19854 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19855 "version": "0.0.0",
19856 "filename": "server/api/plugin/index.js",
19857 "groupTitle": "Plugins"
19861 "url": "/api/plugins/{id}/download",
19862 "title": "Download plugin source code",
19865 "title": "Example usage:",
19866 "content": "curl https://{domain}/api/plugins/{id}/download -v -u {name}:{password} -X GET",
19870 "name": "download",
19871 "group": "Plugins",
19872 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19873 "version": "0.0.0",
19874 "filename": "server/api/plugin/index.js",
19875 "groupTitle": "Plugins"
19879 "url": "/api/plugins/{id}",
19880 "title": "Update an existing plugin",
19883 "title": "Example usage:",
19884 "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password} -X PUT",
19888 "name": "updatePlugin",
19889 "group": "Plugins",
19890 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19891 "version": "0.0.0",
19892 "filename": "server/api/plugin/index.js",
19893 "groupTitle": "Plugins"
19897 "url": "/api/plugins",
19898 "title": "Upload new plugin",
19901 "title": "Example usage:",
19902 "content": "curl https://{domain}/api/plugins -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
19906 "name": "uploadPlugin",
19907 "group": "Plugins",
19908 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19909 "version": "0.0.0",
19910 "filename": "server/api/plugin/index.js",
19911 "groupTitle": "Plugins"
19915 "url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
19916 "title": "Redirect a plugin request to the specified path",
19919 "title": "Example usage:",
19920 "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -v -u {name}:{password} -X GET",
19924 "name": "webhookPlugin",
19925 "group": "Plugins",
19926 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19927 "version": "0.0.0",
19928 "filename": "server/api/plugin/index.js",
19929 "groupTitle": "Plugins"
19933 "url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
19934 "title": "Redirect a plugin request to the specified path",
19937 "title": "Example usage:",
19938 "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -H 'Content-Type: application/json' -X POST",
19942 "name": "webhookPlugin",
19943 "group": "Plugins",
19944 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19945 "version": "0.0.0",
19946 "filename": "server/api/plugin/index.js",
19947 "groupTitle": "Plugins"
19951 "url": "/api/pm2/{id}",
19952 "title": "Deletes an existing process",
19955 "title": "Example usage:",
19956 "content": "curl https://{domain}/api/pm2/{id} -v -u {name}:{password} -X DELETE",
19960 "name": "DeletePm2Process",
19962 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19963 "version": "0.0.0",
19964 "filename": "server/api/pm2/index.js",
19965 "groupTitle": "Pm2"
19969 "url": "/api/pm2/{id}",
19970 "title": "Gets a single pm2 process",
19973 "title": "Example usage:",
19974 "content": "curl https://{domain}/api/pm2/{id} -v -u {name}:{password}",
19978 "name": "GetPm2Process",
19980 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19981 "version": "0.0.0",
19982 "filename": "server/api/pm2/index.js",
19983 "groupTitle": "Pm2"
19988 "title": "Gets pm2 processes",
19991 "title": "Example usage:",
19992 "content": "curl https://{domain}/api/pm2 -v -u {name}:{password}",
19996 "name": "GetPm2Processes",
19998 "description": "<p>Motion returns the pm2 processes list.</p>",
19999 "version": "0.0.0",
20000 "filename": "server/api/pm2/index.js",
20001 "groupTitle": "Pm2"
20006 "title": "Start a single pm2 process",
20009 "title": "Example usage:",
20010 "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",
20014 "name": "StartPm2Process",
20036 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20037 "version": "0.0.0",
20038 "filename": "server/api/pm2/index.js",
20039 "groupTitle": "Pm2"
20043 "url": "/api/pm2/{id}",
20044 "title": "Update an existing process",
20047 "title": "Example usage:",
20048 "content": "curl https://{domain}/api/pm2/{id} -d '{\"status\": \"online\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
20052 "name": "UpdatePm2Process",
20054 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20055 "version": "0.0.0",
20056 "filename": "server/api/pm2/index.js",
20057 "groupTitle": "Pm2"
20061 "url": "/api/rpc/campaigns/",
20062 "title": "Gets a list of campaigns",
20065 "title": "Example usage:",
20066 "content": "curl https://{domain}/api/rpc/campaigns -v -u {name}:{password}",
20070 "name": "Campaigns",
20071 "group": "RPC_Realtime",
20072 "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>",
20073 "version": "0.0.0",
20074 "filename": "server/api/rpc/index.js",
20075 "groupTitle": "RPC_Realtime"
20079 "url": "/api/rpc/fax/accounts",
20080 "title": "Gets a list of FaxAccounts",
20083 "title": "Example usage:",
20084 "content": "curl https://{domain}/api/rpc/fax/accounts -v -u {name}:{password}",
20088 "name": "FaxAccounts",
20089 "group": "RPC_Realtime",
20090 "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>",
20091 "version": "0.0.0",
20092 "filename": "server/api/rpc/index.js",
20093 "groupTitle": "RPC_Realtime"
20097 "url": "/api/rpc/agents/:id/capacity",
20098 "title": "Sets agent capacity",
20101 "title": "Example usage:",
20102 "content": "curl https://{domain}/api/rpc/agents/:id/capacity -v -u {name}:{password}",
20106 "name": "RTAgentCapacity",
20107 "group": "RPC_Realtime",
20108 "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>",
20109 "version": "0.0.0",
20110 "filename": "server/api/rpc/index.js",
20111 "groupTitle": "RPC_Realtime"
20115 "url": "/api/rpc/agents",
20116 "title": "Gets a list of RTAgents",
20119 "title": "Example usage:",
20120 "content": "curl https://{domain}/api/rpc/agents -v -u {name}:{password}",
20124 "name": "RTAgents",
20125 "group": "RPC_Realtime",
20126 "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>",
20127 "version": "0.0.0",
20128 "filename": "server/api/rpc/index.js",
20129 "groupTitle": "RPC_Realtime"
20133 "url": "/api/rpc/chat/queues",
20134 "title": "Gets a list of RTChatQueues",
20137 "title": "Example usage:",
20138 "content": "curl https://{domain}/api/rpc/chat/queues -v -u {name}:{password}",
20142 "name": "RTChatQueues",
20143 "group": "RPC_Realtime",
20144 "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>",
20145 "version": "0.0.0",
20146 "filename": "server/api/rpc/index.js",
20147 "groupTitle": "RPC_Realtime"
20151 "url": "/api/rpc/fax/queues",
20152 "title": "Gets a list of RTFaxQueues",
20155 "title": "Example usage:",
20156 "content": "curl https://{domain}/api/rpc/fax/queues -v -u {name}:{password}",
20160 "name": "RTFaxQueues",
20161 "group": "RPC_Realtime",
20162 "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>",
20163 "version": "0.0.0",
20164 "filename": "server/api/rpc/index.js",
20165 "groupTitle": "RPC_Realtime"
20169 "url": "/api/rpc/mail/accounts",
20170 "title": "Gets a list of RTMailAccounts",
20173 "title": "Example usage:",
20174 "content": "curl https://{domain}/api/rpc/mail/accounts -v -u {name}:{password}",
20178 "name": "RTMailAccounts",
20179 "group": "RPC_Realtime",
20180 "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>",
20181 "version": "0.0.0",
20182 "filename": "server/api/rpc/index.js",
20183 "groupTitle": "RPC_Realtime"
20187 "url": "/api/rpc/mail/queues",
20188 "title": "Gets a list of RTMailQueues",
20191 "title": "Example usage:",
20192 "content": "curl https://{domain}/api/rpc/mail/queues -v -u {name}:{password}",
20196 "name": "RTMailQueues",
20197 "group": "RPC_Realtime",
20198 "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>",
20199 "version": "0.0.0",
20200 "filename": "server/api/rpc/index.js",
20201 "groupTitle": "RPC_Realtime"
20205 "url": "/api/rpc/openchannel/queues",
20206 "title": "Gets a list of RTOpenchannelQueues",
20209 "title": "Example usage:",
20210 "content": "curl https://{domain}/api/rpc/openchannel/queues -v -u {name}:{password}",
20214 "name": "RTOpenchannelQueues",
20215 "group": "RPC_Realtime",
20216 "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>",
20217 "version": "0.0.0",
20218 "filename": "server/api/rpc/index.js",
20219 "groupTitle": "RPC_Realtime"
20223 "url": "/api/rpc/outbound/channels",
20224 "title": "Gets a list of RTOutboundChannels",
20227 "title": "Example usage:",
20228 "content": "curl https://{domain}/api/rpc/outbound/channels -v -u {name}:{password}",
20232 "name": "RTOutboundChannels",
20233 "group": "RPC_Realtime",
20234 "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>",
20235 "version": "0.0.0",
20236 "filename": "server/api/rpc/index.js",
20237 "groupTitle": "RPC_Realtime"
20241 "url": "/api/rpc/sms/queues",
20242 "title": "Gets a list of RTSmsQueues",
20245 "title": "Example usage:",
20246 "content": "curl https://{domain}/api/rpc/sms/queues -v -u {name}:{password}",
20250 "name": "RTSmsQueues",
20251 "group": "RPC_Realtime",
20252 "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>",
20253 "version": "0.0.0",
20254 "filename": "server/api/rpc/index.js",
20255 "groupTitle": "RPC_Realtime"
20259 "url": "/api/rpc/telephones",
20260 "title": "Gets a list of RTTelephones",
20263 "title": "Example usage:",
20264 "content": "curl https://{domain}/api/rpc/telephones -v -u {name}:{password}",
20268 "name": "RTTelephones",
20269 "group": "RPC_Realtime",
20270 "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>",
20271 "version": "0.0.0",
20272 "filename": "server/api/rpc/index.js",
20273 "groupTitle": "RPC_Realtime"
20277 "url": "/api/rpc/trunks",
20278 "title": "Gets a list of RTTrunks",
20281 "title": "Example usage:",
20282 "content": "curl https://{domain}/api/rpc/trunks -v -u {name}:{password}",
20286 "name": "RTTrunks",
20287 "group": "RPC_Realtime",
20288 "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>",
20289 "version": "0.0.0",
20290 "filename": "server/api/rpc/index.js",
20291 "groupTitle": "RPC_Realtime"
20295 "url": "/api/rpc/voice/channels",
20296 "title": "Gets a list of RTVoiceChannelMixMonitor",
20299 "title": "Example usage:",
20300 "content": "curl https://{domain}/api/rpc/voice/channels/{uniqueid}/mixmonitor -v -u {name}:{password}",
20304 "name": "RTVoiceChannelMixMonitor",
20305 "group": "RPC_Realtime",
20306 "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>",
20307 "version": "0.0.0",
20308 "filename": "server/api/rpc/index.js",
20309 "groupTitle": "RPC_Realtime"
20313 "url": "/api/rpc/voice/channels",
20314 "title": "Gets a list of RTVoiceChannelStopMixMonitor",
20317 "title": "Example usage:",
20318 "content": "curl https://{domain}/api/rpc/voice/channels/{uniqueid}/stopmixmonitor -v -u {name}:{password}",
20322 "name": "RTVoiceChannelStopMixMonitor",
20323 "group": "RPC_Realtime",
20324 "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>",
20325 "version": "0.0.0",
20326 "filename": "server/api/rpc/index.js",
20327 "groupTitle": "RPC_Realtime"
20331 "url": "/api/rpc/voice/channels",
20332 "title": "Gets a list of RTVoiceChannels",
20335 "title": "Example usage:",
20336 "content": "curl https://{domain}/api/rpc/voice/channels -v -u {name}:{password}",
20340 "name": "RTVoiceChannels",
20341 "group": "RPC_Realtime",
20342 "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>",
20343 "version": "0.0.0",
20344 "filename": "server/api/rpc/index.js",
20345 "groupTitle": "RPC_Realtime"
20349 "url": "/api/rpc/voice/queues/channels/{uniqueid}",
20350 "title": "Gets a single RTVoiceQueueChannel",
20353 "title": "Example usage:",
20354 "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid} -v -u {name}:{password}",
20358 "name": "RTVoiceQueueChannel",
20359 "group": "RPC_Realtime",
20360 "description": "<p>Motion will return a specific realtime voice queue channel.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20361 "version": "0.0.0",
20362 "filename": "server/api/rpc/index.js",
20363 "groupTitle": "RPC_Realtime"
20367 "url": "/api/rpc/voice/queues/channels/{uniqueid}/hangup",
20368 "title": "Hangup a single RTVoiceQueueChannel",
20371 "title": "Example usage:",
20372 "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid}/hangup -v -u {name}:{password}",
20376 "name": "RTVoiceQueueChannelHangup",
20377 "group": "RPC_Realtime",
20378 "description": "<p>Motion will hangup a specific realtime voice queue channel.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20379 "version": "0.0.0",
20380 "filename": "server/api/rpc/index.js",
20381 "groupTitle": "RPC_Realtime"
20385 "url": "/api/rpc/voice/queues/channels/{uniqueid}/redirect/{exten}",
20386 "title": "Hangup a single RTVoiceQueueChannel",
20389 "title": "Example usage:",
20390 "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid}/redirect/{exten} -v -u {name}:{password}",
20394 "name": "RTVoiceQueueChannelRedirect",
20395 "group": "RPC_Realtime",
20396 "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>",
20397 "version": "0.0.0",
20398 "filename": "server/api/rpc/index.js",
20399 "groupTitle": "RPC_Realtime"
20403 "url": "/api/rpc/voice/queues/preview/{id}",
20404 "title": "Gets a single preview contact",
20407 "title": "Example usage:",
20408 "content": "curl https://{domain}/api/rpc/voice/queues/preview/{id} -v -u {name}:{password}",
20412 "name": "RTVoiceQueuePreview",
20413 "group": "RPC_Realtime",
20414 "description": "<p>Motion will return a specific preview contact.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20415 "version": "0.0.0",
20416 "filename": "server/api/rpc/index.js",
20417 "groupTitle": "RPC_Realtime"
20421 "url": "/api/rpc/voice/queues",
20422 "title": "Gets a list of RTVoiceQueues",
20425 "title": "Example usage:",
20426 "content": "curl https://{domain}/api/rpc/voice/queues -v -u {name}:{password}",
20430 "name": "RTVoiceQueues",
20431 "group": "RPC_Realtime",
20432 "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>",
20433 "version": "0.0.0",
20434 "filename": "server/api/rpc/index.js",
20435 "groupTitle": "RPC_Realtime"
20439 "url": "/api/rpc/outbound",
20440 "title": "Gets a list of RTOutbound",
20443 "title": "Example usage:",
20444 "content": "curl https://{domain}/api/rpc/outbound -v -u {name}:{password}",
20448 "name": "RTVoiceQueues",
20449 "group": "RPC_Realtime",
20450 "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>",
20451 "version": "0.0.0",
20452 "filename": "server/api/rpc/index.js",
20453 "groupTitle": "RPC_Realtime"
20457 "url": "/api/rpc/voice/queues/channels",
20458 "title": "Gets a list of RTVoiceQueuesChannels",
20461 "title": "Example usage:",
20462 "content": "curl https://{domain}/api/rpc/voice/queues/channels -v -u {name}:{password}",
20466 "name": "RTVoiceQueuesChannels",
20467 "group": "RPC_Realtime",
20468 "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>",
20469 "version": "0.0.0",
20470 "filename": "server/api/rpc/index.js",
20471 "groupTitle": "RPC_Realtime"
20475 "url": "/api/rpc/chat/queues/{id}",
20476 "title": "Gets a single RTChatQueue",
20479 "title": "Example usage:",
20480 "content": "curl https://{domain}/api/rpc/chat/queues/{id} -v -u {name}:{password}",
20484 "name": "ShowRTChatQueues",
20485 "group": "RPC_Realtime",
20486 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20487 "version": "0.0.0",
20488 "filename": "server/api/rpc/index.js",
20489 "groupTitle": "RPC_Realtime"
20493 "url": "/api/rpc/fax/queues/{id}",
20494 "title": "Gets a single RTFaxQueue",
20497 "title": "Example usage:",
20498 "content": "curl https://{domain}/api/rpc/fax/queues/{id} -v -u {name}:{password}",
20502 "name": "ShowRTFaxQueues",
20503 "group": "RPC_Realtime",
20504 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20505 "version": "0.0.0",
20506 "filename": "server/api/rpc/index.js",
20507 "groupTitle": "RPC_Realtime"
20511 "url": "/api/rpc/mail/queues/{id}",
20512 "title": "Gets a single RTMailQueue",
20515 "title": "Example usage:",
20516 "content": "curl https://{domain}/api/rpc/mail/queues/{id} -v -u {name}:{password}",
20520 "name": "ShowRTMailQueues",
20521 "group": "RPC_Realtime",
20522 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20523 "version": "0.0.0",
20524 "filename": "server/api/rpc/index.js",
20525 "groupTitle": "RPC_Realtime"
20529 "url": "/api/rpc/openchannel/queues/{id}",
20530 "title": "Gets a single RTOpenchannelQueue",
20533 "title": "Example usage:",
20534 "content": "curl https://{domain}/api/rpc/openchannel/queues/{id} -v -u {name}:{password}",
20538 "name": "ShowRTOpenchannelQueues",
20539 "group": "RPC_Realtime",
20540 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20541 "version": "0.0.0",
20542 "filename": "server/api/rpc/index.js",
20543 "groupTitle": "RPC_Realtime"
20547 "url": "/api/rpc/sms/queues/{id}",
20548 "title": "Gets a single RTSmsQueue",
20551 "title": "Example usage:",
20552 "content": "curl https://{domain}/api/rpc/sms/queues/{id} -v -u {name}:{password}",
20556 "name": "ShowRTSmsQueues",
20557 "group": "RPC_Realtime",
20558 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20559 "version": "0.0.0",
20560 "filename": "server/api/rpc/index.js",
20561 "groupTitle": "RPC_Realtime"
20565 "url": "/api/rpc/voice/queues/{id}",
20566 "title": "Gets a single RTVoiceQueue",
20569 "title": "Example usage:",
20570 "content": "curl https://{domain}/api/rpc/voice/queues/{id} -v -u {name}:{password}",
20574 "name": "ShowRTVoiceQueues",
20575 "group": "RPC_Realtime",
20576 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20577 "version": "0.0.0",
20578 "filename": "server/api/rpc/index.js",
20579 "groupTitle": "RPC_Realtime"
20583 "url": "/api/rpc/voice/{id}/queues",
20584 "title": "Updates a single VoiceQueue",
20587 "title": "Example usage:",
20588 "content": "curl https://{domain}/api/rpc/voice/queues/{id} -v -u {name}:{password}",
20592 "name": "UpdateVoiceQueues",
20593 "group": "RPC_Realtime",
20594 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20595 "version": "0.0.0",
20596 "filename": "server/api/rpc/index.js",
20597 "groupTitle": "RPC_Realtime"
20601 "url": "/api/rpc/agents/:id/notify",
20602 "title": "Notify message to a specific agent",
20605 "title": "Example usage:",
20606 "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",
20610 "name": "agentNotify",
20611 "group": "RPC_Realtime",
20612 "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>",
20613 "version": "0.0.0",
20614 "filename": "server/api/rpc/index.js",
20615 "groupTitle": "RPC_Realtime"
20619 "url": "/api/rpc/chat/queues/:id/notify",
20620 "title": "Notify message to a specific queue",
20623 "title": "Example usage:",
20624 "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",
20628 "name": "chatQueueNotify",
20629 "group": "RPC_Realtime",
20630 "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>",
20631 "version": "0.0.0",
20632 "filename": "server/api/rpc/index.js",
20633 "groupTitle": "RPC_Realtime"
20637 "url": "/api/rpc/chat/queues/waitinginteractions",
20638 "title": "Gets a list of chatQueuesWaitingInteractions",
20641 "title": "Example usage:",
20642 "content": "curl https://{domain}/api/rpc/chat/queues/waitinginteractions -v -u {name}:{password}",
20646 "name": "chatQueuesWaitingInteractions",
20647 "group": "RPC_Realtime",
20648 "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>",
20649 "version": "0.0.0",
20650 "filename": "server/api/rpc/index.js",
20651 "groupTitle": "RPC_Realtime"
20655 "url": "/api/rpc/fax/queues/:id/notify",
20656 "title": "Notify message to a specific queue",
20659 "title": "Example usage:",
20660 "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",
20664 "name": "faxQueueNotify",
20665 "group": "RPC_Realtime",
20666 "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>",
20667 "version": "0.0.0",
20668 "filename": "server/api/rpc/index.js",
20669 "groupTitle": "RPC_Realtime"
20673 "url": "/api/rpc/fax/queues/waitinginteractions",
20674 "title": "Gets a list of faxQueuesWaitingInteractions",
20677 "title": "Example usage:",
20678 "content": "curl https://{domain}/api/rpc/fax/queues/waitinginteractions -v -u {name}:{password}",
20682 "name": "faxQueuesWaitingInteractions",
20683 "group": "RPC_Realtime",
20684 "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>",
20685 "version": "0.0.0",
20686 "filename": "server/api/rpc/index.js",
20687 "groupTitle": "RPC_Realtime"
20691 "url": "/api/rpc/mail/queues/:id/notify",
20692 "title": "Notify message to a specific queue",
20695 "title": "Example usage:",
20696 "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",
20700 "name": "mailQueueNotify",
20701 "group": "RPC_Realtime",
20702 "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>",
20703 "version": "0.0.0",
20704 "filename": "server/api/rpc/index.js",
20705 "groupTitle": "RPC_Realtime"
20709 "url": "/api/rpc/mail/queues/waitinginteractions",
20710 "title": "Gets a list of mailQueuesWaitingInteractions",
20713 "title": "Example usage:",
20714 "content": "curl https://{domain}/api/rpc/mail/queues/waitinginteractions -v -u {name}:{password}",
20718 "name": "mailQueuesWaitingInteractions",
20719 "group": "RPC_Realtime",
20720 "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>",
20721 "version": "0.0.0",
20722 "filename": "server/api/rpc/index.js",
20723 "groupTitle": "RPC_Realtime"
20727 "url": "/api/rpc/openchannel/queues/:id/notify",
20728 "title": "Notify message to a specific queue",
20731 "title": "Example usage:",
20732 "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",
20736 "name": "openchannelQueueNotify",
20737 "group": "RPC_Realtime",
20738 "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>",
20739 "version": "0.0.0",
20740 "filename": "server/api/rpc/index.js",
20741 "groupTitle": "RPC_Realtime"
20745 "url": "/api/rpc/openchannel/queues/:id/waitinginteractions",
20746 "title": "Gets a list of openchannelQueuesIdWaitingInteractions",
20749 "title": "Example usage:",
20750 "content": "curl https://{domain}/api/rpc/openchannel/queues/:id/waitinginteractions -v -u {name}:{password}",
20754 "name": "openchannelQueuesIdWaitingInteractions",
20755 "group": "RPC_Realtime",
20756 "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>",
20757 "version": "0.0.0",
20758 "filename": "server/api/rpc/index.js",
20759 "groupTitle": "RPC_Realtime"
20763 "url": "/api/rpc/openchannel/queues/waitinginteractions",
20764 "title": "Gets a list of openchannelQueuesWaitingInteractions",
20767 "title": "Example usage:",
20768 "content": "curl https://{domain}/api/rpc/openchannel/queues/waitinginteractions -v -u {name}:{password}",
20772 "name": "openchannelQueuesWaitingInteractions",
20773 "group": "RPC_Realtime",
20774 "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>",
20775 "version": "0.0.0",
20776 "filename": "server/api/rpc/index.js",
20777 "groupTitle": "RPC_Realtime"
20781 "url": "/api/rpc/sms/queues/:id/notify",
20782 "title": "Notify message to a specific queue",
20785 "title": "Example usage:",
20786 "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",
20790 "name": "smsQueueNotify",
20791 "group": "RPC_Realtime",
20792 "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>",
20793 "version": "0.0.0",
20794 "filename": "server/api/rpc/index.js",
20795 "groupTitle": "RPC_Realtime"
20799 "url": "/api/rpc/sms/queues/waitinginteractions",
20800 "title": "Gets a list of smsQueuesWaitingInteractions",
20803 "title": "Example usage:",
20804 "content": "curl https://{domain}/api/rpc/sms/queues/waitinginteractions -v -u {name}:{password}",
20808 "name": "smsQueuesWaitingInteractions",
20809 "group": "RPC_Realtime",
20810 "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>",
20811 "version": "0.0.0",
20812 "filename": "server/api/rpc/index.js",
20813 "groupTitle": "RPC_Realtime"
20817 "url": "/api/integrations/salesforce/accounts",
20818 "title": "Creates a new Salesforce Account",
20821 "title": "Example usage:",
20822 "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",
20826 "name": "CreateSalesforce_Accounts",
20827 "group": "Salesforce_Accounts",
20842 "field": "description",
20849 "field": "username",
20856 "field": "remoteUri",
20863 "field": "password",
20870 "field": "clientId",
20877 "field": "clientSecret",
20884 "field": "securityToken",
20891 "field": "serverUrl",
20898 "\"integrationTab\"",
20908 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20909 "version": "0.0.0",
20910 "filename": "server/api/intSalesforceAccount/index.js",
20911 "groupTitle": "Salesforce_Accounts"
20915 "url": "/api/integrations/salesforce/accounts/{id}",
20916 "title": "Deletes a Salesforce Account",
20919 "title": "Example usage:",
20920 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id} -v -u {name}:{password} -X DELETE",
20924 "name": "DeleteSalesforce_Accounts",
20925 "group": "Salesforce_Accounts",
20926 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20927 "version": "0.0.0",
20928 "filename": "server/api/intSalesforceAccount/index.js",
20929 "groupTitle": "Salesforce_Accounts"
20933 "url": "/api/integrations/salesforce/accounts",
20934 "title": "Gets a list of Salesforce Accounts",
20937 "title": "Example usage:",
20938 "content": "curl https://{domain}/api/integrations/salesforce/accounts -v -u {name}:{password}",
20942 "name": "GetSalesforce_Accounts",
20943 "group": "Salesforce_Accounts",
20944 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
20945 "version": "0.0.0",
20946 "filename": "server/api/intSalesforceAccount/index.js",
20947 "groupTitle": "Salesforce_Accounts"
20951 "url": "/api/integrations/salesforce/accounts/{id}",
20952 "title": "Gets a single Salesforce Account",
20955 "title": "Example usage:",
20956 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id} -v -u {name}:{password}",
20960 "name": "ShowSalesforce_Accounts",
20961 "group": "Salesforce_Accounts",
20962 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20963 "version": "0.0.0",
20964 "filename": "server/api/intSalesforceAccount/index.js",
20965 "groupTitle": "Salesforce_Accounts"
20969 "url": "/api/integrations/salesforce/accounts/{id}/configurations",
20970 "title": "Creates new configuration",
20973 "title": "Example usage:",
20974 "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",
20978 "name": "addConfiguration",
20979 "group": "Salesforce_Accounts",
20980 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20981 "version": "0.0.0",
20982 "filename": "server/api/intSalesforceAccount/index.js",
20983 "groupTitle": "Salesforce_Accounts"
20987 "url": "/api/integrations/salesforce/accounts/{id}/configurations",
20988 "title": "Gets account configurations",
20991 "title": "Example usage:",
20992 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id}/configurations -v -u {name}:{password} -X GET",
20996 "name": "getConfigurations",
20997 "group": "Salesforce_Accounts",
20998 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20999 "version": "0.0.0",
21000 "filename": "server/api/intSalesforceAccount/index.js",
21001 "groupTitle": "Salesforce_Accounts"
21005 "url": "/api/integrations/salesforce/accounts/{id}/fields",
21006 "title": "Gets account fields",
21009 "title": "Example usage:",
21010 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id}/fields -v -u {name}:{password} -X GET",
21014 "name": "getFields",
21015 "group": "Salesforce_Accounts",
21016 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21017 "version": "0.0.0",
21018 "filename": "server/api/intSalesforceAccount/index.js",
21019 "groupTitle": "Salesforce_Accounts"
21023 "url": "/api/integrations/salesforce/accounts/{id}",
21024 "title": "Update an existing Salesforce Account",
21027 "title": "Example usage:",
21028 "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",
21032 "name": "updateSalesforce_Accounts",
21033 "group": "Salesforce_Accounts",
21034 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21035 "version": "0.0.0",
21036 "filename": "server/api/intSalesforceAccount/index.js",
21037 "groupTitle": "Salesforce_Accounts"
21041 "url": "/api/integrations/salesforce/configurations",
21042 "title": "Creates a new Salesforce Configuration",
21045 "title": "Example usage:",
21046 "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",
21050 "name": "CreateSalesforce_Configurations",
21051 "group": "Salesforce_Configurations",
21066 "field": "description",
21077 "field": "ticketType",
21084 "\"contact_lead\"",
21087 "\"account_contact_lead\"",
21091 "field": "moduleSearch",
21104 "field": "moduleCreate",
21118 "field": "additionalSearchAccount",
21125 "field": "additionalSearchContact",
21132 "field": "additionalSearchLead",
21138 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21139 "version": "0.0.0",
21140 "filename": "server/api/intSalesforceConfiguration/index.js",
21141 "groupTitle": "Salesforce_Configurations"
21145 "url": "/api/integrations/salesforce/configurations/{id}",
21146 "title": "Deletes a Salesforce Configuration",
21149 "title": "Example usage:",
21150 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id} -v -u {name}:{password} -X DELETE",
21154 "name": "DeleteSalesforce_Configurations",
21155 "group": "Salesforce_Configurations",
21156 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21157 "version": "0.0.0",
21158 "filename": "server/api/intSalesforceConfiguration/index.js",
21159 "groupTitle": "Salesforce_Configurations"
21163 "url": "/api/integrations/salesforce/configurations",
21164 "title": "Gets a list of Salesforce Configurations",
21167 "title": "Example usage:",
21168 "content": "curl https://{domain}/api/integrations/salesforce/configurations -v -u {name}:{password}",
21172 "name": "GetSalesforce_Configurations",
21173 "group": "Salesforce_Configurations",
21174 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21175 "version": "0.0.0",
21176 "filename": "server/api/intSalesforceConfiguration/index.js",
21177 "groupTitle": "Salesforce_Configurations"
21181 "url": "/api/integrations/salesforce/configurations/{id}",
21182 "title": "Gets a single Salesforce Configuration",
21185 "title": "Example usage:",
21186 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id} -v -u {name}:{password}",
21190 "name": "ShowSalesforce_Configurations",
21191 "group": "Salesforce_Configurations",
21192 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21193 "version": "0.0.0",
21194 "filename": "server/api/intSalesforceConfiguration/index.js",
21195 "groupTitle": "Salesforce_Configurations"
21199 "url": "/api/integrations/salesforce/configurations/{id}/descriptions",
21200 "title": "Gets configurations descriptions",
21203 "title": "Example usage:",
21204 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
21208 "name": "getDescriptions",
21209 "group": "Salesforce_Configurations",
21210 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21211 "version": "0.0.0",
21212 "filename": "server/api/intSalesforceConfiguration/index.js",
21213 "groupTitle": "Salesforce_Configurations"
21217 "url": "/api/integrations/salesforce/configurations/{id}/fields",
21218 "title": "Gets configurations fields",
21221 "title": "Example usage:",
21222 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/fields -v -u {name}:{password} -X GET",
21226 "name": "getFields",
21227 "group": "Salesforce_Configurations",
21228 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21229 "version": "0.0.0",
21230 "filename": "server/api/intSalesforceConfiguration/index.js",
21231 "groupTitle": "Salesforce_Configurations"
21235 "url": "/api/integrations/salesforce/configurations/{id}/subjects",
21236 "title": "Gets configurations subjects",
21239 "title": "Example usage:",
21240 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/subjects -v -u {name}:{password} -X GET",
21244 "name": "getSubjects",
21245 "group": "Salesforce_Configurations",
21246 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21247 "version": "0.0.0",
21248 "filename": "server/api/intSalesforceConfiguration/index.js",
21249 "groupTitle": "Salesforce_Configurations"
21253 "url": "/api/integrations/salesforce/configurations/{id}",
21254 "title": "Update an existing Salesforce Configuration",
21257 "title": "Example usage:",
21258 "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",
21262 "name": "updateSalesforce_Configurations",
21263 "group": "Salesforce_Configurations",
21264 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21265 "version": "0.0.0",
21266 "filename": "server/api/intSalesforceConfiguration/index.js",
21267 "groupTitle": "Salesforce_Configurations"
21271 "url": "/api/integrations/salesforce/fields",
21272 "title": "Creates a new Salesforce Field",
21275 "title": "Example usage:",
21276 "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",
21280 "name": "CreateSalesforce_Fields",
21281 "group": "Salesforce_Fields",
21291 "\"customVariable\"",
21303 "field": "content",
21319 "\"customVariable\""
21322 "field": "keyType",
21329 "field": "keyContent",
21336 "field": "idField",
21343 "field": "variableName",
21349 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21350 "version": "0.0.0",
21351 "filename": "server/api/intSalesforceField/index.js",
21352 "groupTitle": "Salesforce_Fields"
21356 "url": "/api/integrations/salesforce/fields/{id}",
21357 "title": "Deletes a Salesforce Field",
21360 "title": "Example usage:",
21361 "content": "curl https://{domain}/api/integrations/salesforce/fields/{id} -v -u {name}:{password} -X DELETE",
21365 "name": "DeleteSalesforce_Fields",
21366 "group": "Salesforce_Fields",
21367 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21368 "version": "0.0.0",
21369 "filename": "server/api/intSalesforceField/index.js",
21370 "groupTitle": "Salesforce_Fields"
21374 "url": "/api/integrations/salesforce/fields",
21375 "title": "Gets a list of Salesforce Fields",
21378 "title": "Example usage:",
21379 "content": "curl https://{domain}/api/integrations/salesforce/fields -v -u {name}:{password}",
21383 "name": "GetSalesforce_Fields",
21384 "group": "Salesforce_Fields",
21385 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21386 "version": "0.0.0",
21387 "filename": "server/api/intSalesforceField/index.js",
21388 "groupTitle": "Salesforce_Fields"
21392 "url": "/api/integrations/salesforce/fields/{id}",
21393 "title": "Gets a single Salesforce Field",
21396 "title": "Example usage:",
21397 "content": "curl https://{domain}/api/integrations/salesforce/fields/{id} -v -u {name}:{password}",
21401 "name": "ShowSalesforce_Fields",
21402 "group": "Salesforce_Fields",
21403 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21404 "version": "0.0.0",
21405 "filename": "server/api/intSalesforceField/index.js",
21406 "groupTitle": "Salesforce_Fields"
21410 "url": "/api/integrations/salesforce/fields/{id}",
21411 "title": "Update an existing Salesforce Field",
21414 "title": "Example usage:",
21415 "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",
21419 "name": "updateSalesforce_Fields",
21420 "group": "Salesforce_Fields",
21421 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21422 "version": "0.0.0",
21423 "filename": "server/api/intSalesforceField/index.js",
21424 "groupTitle": "Salesforce_Fields"
21428 "url": "/api/schedules",
21429 "title": "Creates a new Schedule",
21432 "title": "Example usage:",
21433 "content": "curl https://{domain}/api/schedules -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21437 "name": "CreateSchedules",
21438 "group": "Schedules",
21453 "field": "description",
21474 "field": "startAt",
21488 "field": "subtractNumber",
21504 "field": "subtractUnit",
21534 "field": "sendMail",
21562 "field": "sendIfEmpty",
21568 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21569 "version": "0.0.0",
21570 "filename": "server/api/schedule/index.js",
21571 "groupTitle": "Schedules"
21575 "url": "/api/schedules/{id}",
21576 "title": "Deletes a Schedule",
21579 "title": "Example usage:",
21580 "content": "curl https://{domain}/api/schedules/{id} -v -u {name}:{password} -X DELETE",
21584 "name": "DeleteSchedules",
21585 "group": "Schedules",
21586 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21587 "version": "0.0.0",
21588 "filename": "server/api/schedule/index.js",
21589 "groupTitle": "Schedules"
21593 "url": "/api/schedules",
21594 "title": "Gets a list of Schedules",
21597 "title": "Example usage:",
21598 "content": "curl https://{domain}/api/schedules -v -u {name}:{password}",
21602 "name": "GetSchedules",
21603 "group": "Schedules",
21604 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21605 "version": "0.0.0",
21606 "filename": "server/api/schedule/index.js",
21607 "groupTitle": "Schedules"
21611 "url": "/api/schedules/{id}",
21612 "title": "Gets a single Schedule",
21615 "title": "Example usage:",
21616 "content": "curl https://{domain}/api/schedules/{id} -v -u {name}:{password}",
21620 "name": "ShowSchedules",
21621 "group": "Schedules",
21622 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21623 "version": "0.0.0",
21624 "filename": "server/api/schedule/index.js",
21625 "groupTitle": "Schedules"
21629 "url": "/api/schedules/{id}/run",
21630 "title": "Run Scheduler",
21633 "title": "Example usage:",
21634 "content": "curl https://{domain}/api/schedules/{id}/run -v -u {name}:{password} -X GET",
21639 "group": "Schedules",
21640 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21641 "version": "0.0.0",
21642 "filename": "server/api/schedule/index.js",
21643 "groupTitle": "Schedules"
21647 "url": "/api/schedules/{id}",
21648 "title": "Update an existing Schedule",
21651 "title": "Example usage:",
21652 "content": "curl https://{domain}/api/schedules/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
21656 "name": "updateSchedules",
21657 "group": "Schedules",
21658 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21659 "version": "0.0.0",
21660 "filename": "server/api/schedule/index.js",
21661 "groupTitle": "Schedules"
21665 "url": "/api/screen/recordings",
21666 "title": "Creates a new Recording",
21669 "title": "Example usage:",
21670 "content": "curl https://{domain}/api/screen/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21674 "name": "CreateRecordings",
21675 "group": "Screen_Recordings",
21690 "field": "interactionid",
21697 "field": "channel",
21718 "field": "duration",
21725 "field": "startedAt",
21732 "field": "closedAt",
21739 "field": "createdAt",
21746 "field": "updatedAt",
21752 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21753 "version": "0.0.0",
21754 "filename": "server/api/screenRecording/index.js",
21755 "groupTitle": "Screen_Recordings"
21759 "url": "/api/screen/recordings/describe",
21760 "title": "Gets table info about Recordings",
21763 "title": "Example usage:",
21764 "content": "curl https://{domain}/api/screen/recordings/describe -v -u {name}:{password}",
21768 "name": "DescribeRecordings",
21769 "group": "Screen_Recordings",
21770 "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>",
21771 "version": "0.0.0",
21772 "filename": "server/api/screenRecording/index.js",
21773 "groupTitle": "Screen_Recordings"
21777 "url": "/api/screen/recordings",
21778 "title": "Gets a list of Recordings",
21781 "title": "Example usage:",
21782 "content": "curl https://{domain}/api/screen/recordings -v -u {name}:{password}",
21786 "name": "GetRecordings",
21787 "group": "Screen_Recordings",
21788 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21789 "version": "0.0.0",
21790 "filename": "server/api/screenRecording/index.js",
21791 "groupTitle": "Screen_Recordings"
21795 "url": "/api/screen/recordings/{id}",
21796 "title": "Gets a single Recording",
21799 "title": "Example usage:",
21800 "content": "curl https://{domain}/api/screen/recordings/{id} -v -u {name}:{password}",
21804 "name": "ShowRecordings",
21805 "group": "Screen_Recordings",
21806 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21807 "version": "0.0.0",
21808 "filename": "server/api/screenRecording/index.js",
21809 "groupTitle": "Screen_Recordings"
21813 "url": "/api/screen/recordings/{id}",
21814 "title": "Delete screen recording",
21817 "title": "Example usage:",
21818 "content": "curl https://{domain}/api/screen/recordings/{id} -v -u {name}:{password} -X DELETE",
21823 "group": "Screen_Recordings",
21824 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21825 "version": "0.0.0",
21826 "filename": "server/api/screenRecording/index.js",
21827 "groupTitle": "Screen_Recordings"
21831 "url": "/api/screen/recordings/{id}/download",
21832 "title": "Download Recording",
21835 "title": "Example usage:",
21836 "content": "curl https://{domain}/api/screen/recordings/{id}/download -v -u {name}:{password} -X GET",
21840 "name": "download",
21841 "group": "Screen_Recordings",
21842 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21843 "version": "0.0.0",
21844 "filename": "server/api/screenRecording/index.js",
21845 "groupTitle": "Screen_Recordings"
21849 "url": "/api/screen/recordings/{id}",
21850 "title": "Update an existing Recording",
21853 "title": "Example usage:",
21854 "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",
21858 "name": "updateRecordings",
21859 "group": "Screen_Recordings",
21860 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21861 "version": "0.0.0",
21862 "filename": "server/api/screenRecording/index.js",
21863 "groupTitle": "Screen_Recordings"
21867 "url": "/api/integrations/servicenow/accounts",
21868 "title": "Creates a new Servicenow Account",
21871 "title": "Example usage:",
21872 "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",
21876 "name": "CreateServicenow_Accounts",
21877 "group": "Servicenow_Accounts",
21892 "field": "description",
21899 "field": "username",
21906 "field": "password",
21920 "field": "remoteUri",
21927 "field": "serverUrl",
21933 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21934 "version": "0.0.0",
21935 "filename": "server/api/intServicenowAccount/index.js",
21936 "groupTitle": "Servicenow_Accounts"
21940 "url": "/api/integrations/servicenow/accounts/{id}",
21941 "title": "Deletes a Servicenow Account",
21944 "title": "Example usage:",
21945 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id} -v -u {name}:{password} -X DELETE",
21949 "name": "DeleteServicenow_Accounts",
21950 "group": "Servicenow_Accounts",
21951 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21952 "version": "0.0.0",
21953 "filename": "server/api/intServicenowAccount/index.js",
21954 "groupTitle": "Servicenow_Accounts"
21958 "url": "/api/integrations/servicenow/accounts",
21959 "title": "Gets a list of Servicenow Accounts",
21962 "title": "Example usage:",
21963 "content": "curl https://{domain}/api/integrations/servicenow/accounts -v -u {name}:{password}",
21967 "name": "GetServicenow_Accounts",
21968 "group": "Servicenow_Accounts",
21969 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21970 "version": "0.0.0",
21971 "filename": "server/api/intServicenowAccount/index.js",
21972 "groupTitle": "Servicenow_Accounts"
21976 "url": "/api/integrations/servicenow/accounts/{id}",
21977 "title": "Gets a single Servicenow Account",
21980 "title": "Example usage:",
21981 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id} -v -u {name}:{password}",
21985 "name": "ShowServicenow_Accounts",
21986 "group": "Servicenow_Accounts",
21987 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21988 "version": "0.0.0",
21989 "filename": "server/api/intServicenowAccount/index.js",
21990 "groupTitle": "Servicenow_Accounts"
21994 "url": "/api/integrations/servicenow/accounts/{id}/configurations",
21995 "title": "Creates new configuration",
21998 "title": "Example usage:",
21999 "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",
22003 "name": "addConfiguration",
22004 "group": "Servicenow_Accounts",
22005 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22006 "version": "0.0.0",
22007 "filename": "server/api/intServicenowAccount/index.js",
22008 "groupTitle": "Servicenow_Accounts"
22012 "url": "/api/integrations/servicenow/accounts/{id}/configurations",
22013 "title": "Gets account configurations",
22016 "title": "Example usage:",
22017 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id}/configurations -v -u {name}:{password} -X GET",
22021 "name": "getConfigurations",
22022 "group": "Servicenow_Accounts",
22023 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22024 "version": "0.0.0",
22025 "filename": "server/api/intServicenowAccount/index.js",
22026 "groupTitle": "Servicenow_Accounts"
22030 "url": "/api/integrations/servicenow/accounts/{id}/fields",
22031 "title": "Gets account fields",
22034 "title": "Example usage:",
22035 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id}/fields -v -u {name}:{password} -X GET",
22039 "name": "getFields",
22040 "group": "Servicenow_Accounts",
22041 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22042 "version": "0.0.0",
22043 "filename": "server/api/intServicenowAccount/index.js",
22044 "groupTitle": "Servicenow_Accounts"
22048 "url": "/api/integrations/servicenow/accounts/{id}",
22049 "title": "Update an existing Servicenow Account",
22052 "title": "Example usage:",
22053 "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",
22057 "name": "updateServicenow_Accounts",
22058 "group": "Servicenow_Accounts",
22059 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22060 "version": "0.0.0",
22061 "filename": "server/api/intServicenowAccount/index.js",
22062 "groupTitle": "Servicenow_Accounts"
22066 "url": "/api/integrations/servicenow/configurations",
22067 "title": "Creates a new Servicenow Configuration",
22070 "title": "Example usage:",
22071 "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",
22075 "name": "CreateServicenow_Configurations",
22076 "group": "Servicenow_Configurations",
22091 "field": "description",
22097 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22098 "version": "0.0.0",
22099 "filename": "server/api/intServicenowConfiguration/index.js",
22100 "groupTitle": "Servicenow_Configurations"
22104 "url": "/api/integrations/servicenow/configurations/{id}",
22105 "title": "Deletes a Servicenow Configuration",
22108 "title": "Example usage:",
22109 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id} -v -u {name}:{password} -X DELETE",
22113 "name": "DeleteServicenow_Configurations",
22114 "group": "Servicenow_Configurations",
22115 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22116 "version": "0.0.0",
22117 "filename": "server/api/intServicenowConfiguration/index.js",
22118 "groupTitle": "Servicenow_Configurations"
22122 "url": "/api/integrations/servicenow/configurations",
22123 "title": "Gets a list of Servicenow Configurations",
22126 "title": "Example usage:",
22127 "content": "curl https://{domain}/api/integrations/servicenow/configurations -v -u {name}:{password}",
22131 "name": "GetServicenow_Configurations",
22132 "group": "Servicenow_Configurations",
22133 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
22134 "version": "0.0.0",
22135 "filename": "server/api/intServicenowConfiguration/index.js",
22136 "groupTitle": "Servicenow_Configurations"
22140 "url": "/api/integrations/servicenow/configurations/{id}",
22141 "title": "Gets a single Servicenow Configuration",
22144 "title": "Example usage:",
22145 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id} -v -u {name}:{password}",
22149 "name": "ShowServicenow_Configurations",
22150 "group": "Servicenow_Configurations",
22151 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22152 "version": "0.0.0",
22153 "filename": "server/api/intServicenowConfiguration/index.js",
22154 "groupTitle": "Servicenow_Configurations"
22158 "url": "/api/integrations/servicenow/configurations/{id}/descriptions",
22159 "title": "Gets configurations descriptions",
22162 "title": "Example usage:",
22163 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
22167 "name": "getDescriptions",
22168 "group": "Servicenow_Configurations",
22169 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22170 "version": "0.0.0",
22171 "filename": "server/api/intServicenowConfiguration/index.js",
22172 "groupTitle": "Servicenow_Configurations"
22176 "url": "/api/integrations/servicenow/configurations/{id}/fields",
22177 "title": "Gets configurations fields",
22180 "title": "Example usage:",
22181 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/fields -v -u {name}:{password} -X GET",
22185 "name": "getFields",
22186 "group": "Servicenow_Configurations",
22187 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22188 "version": "0.0.0",
22189 "filename": "server/api/intServicenowConfiguration/index.js",
22190 "groupTitle": "Servicenow_Configurations"
22194 "url": "/api/integrations/servicenow/configurations/{id}/subjects",
22195 "title": "Gets configurations subjects",
22198 "title": "Example usage:",
22199 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/subjects -v -u {name}:{password} -X GET",
22203 "name": "getSubjects",
22204 "group": "Servicenow_Configurations",
22205 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22206 "version": "0.0.0",
22207 "filename": "server/api/intServicenowConfiguration/index.js",
22208 "groupTitle": "Servicenow_Configurations"
22212 "url": "/api/integrations/servicenow/configurations/{id}",
22213 "title": "Update an existing Servicenow Configuration",
22216 "title": "Example usage:",
22217 "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",
22221 "name": "updateServicenow_Configurations",
22222 "group": "Servicenow_Configurations",
22223 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22224 "version": "0.0.0",
22225 "filename": "server/api/intServicenowConfiguration/index.js",
22226 "groupTitle": "Servicenow_Configurations"
22230 "url": "/api/integrations/servicenow/fields",
22231 "title": "Creates a new Servicenow Field",
22234 "title": "Example usage:",
22235 "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",
22239 "name": "CreateServicenow_Fields",
22240 "group": "Servicenow_Fields",
22250 "\"customVariable\"",
22262 "field": "content",
22278 "\"customVariable\""
22281 "field": "keyType",
22288 "field": "keyContent",
22295 "field": "idField",
22302 "field": "nameField",
22309 "field": "customField",
22316 "field": "variableName",
22322 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22323 "version": "0.0.0",
22324 "filename": "server/api/intServicenowField/index.js",
22325 "groupTitle": "Servicenow_Fields"
22329 "url": "/api/integrations/servicenow/fields/{id}",
22330 "title": "Deletes a Servicenow Field",
22333 "title": "Example usage:",
22334 "content": "curl https://{domain}/api/integrations/servicenow/fields/{id} -v -u {name}:{password} -X DELETE",
22338 "name": "DeleteServicenow_Fields",
22339 "group": "Servicenow_Fields",
22340 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22341 "version": "0.0.0",
22342 "filename": "server/api/intServicenowField/index.js",
22343 "groupTitle": "Servicenow_Fields"
22347 "url": "/api/integrations/servicenow/fields",
22348 "title": "Gets a list of Servicenow Fields",
22351 "title": "Example usage:",
22352 "content": "curl https://{domain}/api/integrations/servicenow/fields -v -u {name}:{password}",
22356 "name": "GetServicenow_Fields",
22357 "group": "Servicenow_Fields",
22358 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
22359 "version": "0.0.0",
22360 "filename": "server/api/intServicenowField/index.js",
22361 "groupTitle": "Servicenow_Fields"
22365 "url": "/api/integrations/servicenow/fields/{id}",
22366 "title": "Gets a single Servicenow Field",
22369 "title": "Example usage:",
22370 "content": "curl https://{domain}/api/integrations/servicenow/fields/{id} -v -u {name}:{password}",
22374 "name": "ShowServicenow_Fields",
22375 "group": "Servicenow_Fields",
22376 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22377 "version": "0.0.0",
22378 "filename": "server/api/intServicenowField/index.js",
22379 "groupTitle": "Servicenow_Fields"
22383 "url": "/api/integrations/servicenow/fields/{id}",
22384 "title": "Update an existing Servicenow Field",
22387 "title": "Example usage:",
22388 "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",
22392 "name": "updateServicenow_Fields",
22393 "group": "Servicenow_Fields",
22394 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22395 "version": "0.0.0",
22396 "filename": "server/api/intServicenowField/index.js",
22397 "groupTitle": "Servicenow_Fields"
22401 "url": "/api/settings",
22402 "title": "Gets a list of Settings",
22405 "title": "Example usage:",
22406 "content": "curl https://{domain}/api/settings -v -u {name}:{password}",
22410 "name": "GetSettings",
22411 "group": "Settings",
22412 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
22413 "version": "0.0.0",
22414 "filename": "server/api/setting/index.js",
22415 "groupTitle": "Settings"
22419 "url": "/api/settings/{id}",
22420 "title": "Gets a single Setting",
22423 "title": "Example usage:",
22424 "content": "curl https://{domain}/api/settings/{id} -v -u {name}:{password}",
22428 "name": "ShowSettings",
22429 "group": "Settings",
22430 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22431 "version": "0.0.0",
22432 "filename": "server/api/setting/index.js",
22433 "groupTitle": "Settings"
22437 "url": "/api/settings/{id}/favicon",
22438 "title": "Add Favicon",
22441 "title": "Example usage:",
22442 "content": "curl https://{domain}/api/settings/{id}/favicon -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
22446 "name": "addFavicon",
22447 "group": "Settings",
22448 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22449 "version": "0.0.0",
22450 "filename": "server/api/setting/index.js",
22451 "groupTitle": "Settings"
22455 "url": "/api/settings/{id}/logo",
22456 "title": "Add logo",
22459 "title": "Example usage:",
22460 "content": "curl https://{domain}/api/settings/{id}/logo -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
22465 "group": "Settings",
22466 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22467 "version": "0.0.0",
22468 "filename": "server/api/setting/index.js",
22469 "groupTitle": "Settings"
22473 "url": "/api/settings/{id}/logo_login",
22474 "title": "Add logo login",
22477 "title": "Example usage:",
22478 "content": "curl https://{domain}/api/settings/{id}/logo_login -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
22482 "name": "addLogoLogin",
22483 "group": "Settings",
22484 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22485 "version": "0.0.0",
22486 "filename": "server/api/setting/index.js",
22487 "groupTitle": "Settings"
22491 "url": "/api/settings/{id}/preferred",
22492 "title": "Add Preferred",
22495 "title": "Example usage:",
22496 "content": "curl https://{domain}/api/settings/{id}/preferred -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
22500 "name": "addPreferred",
22501 "group": "Settings",
22502 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22503 "version": "0.0.0",
22504 "filename": "server/api/setting/index.js",
22505 "groupTitle": "Settings"
22509 "url": "/api/settings/now",
22510 "title": "Get Server Current Date",
22513 "title": "Example usage:",
22514 "content": "curl https://{domain}/api/settings/now -v -X GET",
22519 "group": "Settings",
22520 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22521 "version": "0.0.0",
22522 "filename": "server/api/setting/index.js",
22523 "groupTitle": "Settings"
22527 "url": "/api/settings/{id}/favicon",
22528 "title": "Get Favicon",
22531 "title": "Example usage:",
22532 "content": "curl https://{domain}/api/settings/{id}/favicon -v -X GET",
22536 "name": "getFavicon",
22537 "group": "Settings",
22538 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22539 "version": "0.0.0",
22540 "filename": "server/api/setting/index.js",
22541 "groupTitle": "Settings"
22545 "url": "/api/settings/{id}/gdpr",
22546 "title": "Get gdpr settings",
22549 "title": "Example usage:",
22550 "content": "curl https://{domain}/api/settings/{id}/gdpr -v -u {name}:{password} -X GET",
22555 "group": "Settings",
22556 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22557 "version": "0.0.0",
22558 "filename": "server/api/setting/index.js",
22559 "groupTitle": "Settings"
22563 "url": "/api/settings/{id}/logo",
22564 "title": "Get logo",
22567 "title": "Example usage:",
22568 "content": "curl https://{domain}/api/settings/{id}/logo -v -X GET",
22573 "group": "Settings",
22574 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22575 "version": "0.0.0",
22576 "filename": "server/api/setting/index.js",
22577 "groupTitle": "Settings"
22581 "url": "/api/settings/{id}/logo_login",
22582 "title": "Get logo login",
22585 "title": "Example usage:",
22586 "content": "curl https://{domain}/api/settings/{id}/logo_login -v -X GET",
22590 "name": "getLogoLogin",
22591 "group": "Settings",
22592 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22593 "version": "0.0.0",
22594 "filename": "server/api/setting/index.js",
22595 "groupTitle": "Settings"
22599 "url": "/api/settings/{id}/preferred",
22600 "title": "Get Preferred",
22603 "title": "Example usage:",
22604 "content": "curl https://{domain}/api/settings/{id}/preferred -v -X GET",
22608 "name": "getPreferred",
22609 "group": "Settings",
22610 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22611 "version": "0.0.0",
22612 "filename": "server/api/setting/index.js",
22613 "groupTitle": "Settings"
22617 "url": "/api/settings/{id}",
22618 "title": "Update an existing Setting",
22621 "title": "Example usage:",
22622 "content": "curl https://{domain}/api/settings/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
22626 "name": "updateSettings",
22627 "group": "Settings",
22628 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22629 "version": "0.0.0",
22630 "filename": "server/api/setting/index.js",
22631 "groupTitle": "Settings"
22635 "url": "/api/sms/accounts/{id}/users",
22636 "title": "Add agents to a sms account",
22639 "title": "Example usage:",
22640 "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",
22644 "name": "AddAgents",
22645 "group": "Sms_Accounts",
22646 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22647 "version": "0.0.0",
22648 "filename": "server/api/smsAccount/index.js",
22649 "groupTitle": "Sms_Accounts"
22653 "url": "/api/sms/accounts",
22654 "title": "Creates a new Account",
22657 "title": "Example usage:",
22658 "content": "curl https://{domain}/api/sms/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22662 "name": "CreateAccounts",
22663 "group": "Sms_Accounts",
22725 "field": "accountSid",
22739 "field": "authToken",
22751 "field": "smsMethod",
22758 "field": "username",
22765 "field": "password",
22779 "field": "applicationId",
22786 "field": "accountId",
22793 "field": "senderString",
22800 "field": "deliveryReport",
22807 "field": "description",
22814 "field": "notificationTemplate",
22821 "field": "notificationSound",
22828 "field": "notificationShake",
22835 "field": "waitForTheAssignedAgent",
22842 "field": "queueTransfer",
22849 "field": "queueTransferTimeout",
22856 "field": "agentTransfer",
22863 "field": "agentTransferTimeout",
22870 "field": "baseUrl",
22877 "field": "mandatoryDispositionPauseId",
22878 "description": "<p>Status to put when mandatory disposition is enabled</p>"
22884 "field": "mandatoryDisposition",
22885 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
22890 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22891 "version": "0.0.0",
22892 "filename": "server/api/smsAccount/index.js",
22893 "groupTitle": "Sms_Accounts"
22897 "url": "/api/sms/accounts/{id}",
22898 "title": "Deletes a Account",
22901 "title": "Example usage:",
22902 "content": "curl https://{domain}/api/sms/accounts/{id} -v -u {name}:{password} -X DELETE",
22906 "name": "DeleteAccounts",
22907 "group": "Sms_Accounts",
22908 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22909 "version": "0.0.0",
22910 "filename": "server/api/smsAccount/index.js",
22911 "groupTitle": "Sms_Accounts"
22915 "url": "/api/sms/accounts/describe",
22916 "title": "Gets table info about Accounts",
22919 "title": "Example usage:",
22920 "content": "curl https://{domain}/api/sms/accounts/describe -v -u {name}:{password}",
22924 "name": "DescribeAccounts",
22925 "group": "Sms_Accounts",
22926 "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>",
22927 "version": "0.0.0",
22928 "filename": "server/api/smsAccount/index.js",
22929 "groupTitle": "Sms_Accounts"
22933 "url": "/api/sms/accounts",
22934 "title": "Gets a list of Accounts",
22937 "title": "Example usage:",
22938 "content": "curl https://{domain}/api/sms/accounts -v -u {name}:{password}",
22942 "name": "GetAccounts",
22943 "group": "Sms_Accounts",
22944 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
22945 "version": "0.0.0",
22946 "filename": "server/api/smsAccount/index.js",
22947 "groupTitle": "Sms_Accounts"
22951 "url": "/api/sms/accounts/{id}/users",
22952 "title": "Gets agents from sms account",
22955 "title": "Example usage:",
22956 "content": "curl https://{domain}/api/sms/accounts/{id}/users -v -u {name}:{password} -X GET",
22960 "name": "GetAgents",
22961 "group": "Sms_Accounts",
22962 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22963 "version": "0.0.0",
22964 "filename": "server/api/smsAccount/index.js",
22965 "groupTitle": "Sms_Accounts"
22969 "url": "/api/sms/accounts/{id}/users",
22970 "title": "Removes agents from a sms account",
22973 "title": "Example usage:",
22974 "content": "curl https://{domain}/api/sms/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
22978 "name": "RemoveAgents",
22979 "group": "Sms_Accounts",
22980 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22981 "version": "0.0.0",
22982 "filename": "server/api/smsAccount/index.js",
22983 "groupTitle": "Sms_Accounts"
22987 "url": "/api/sms/accounts/{id}/canned_answers",
22988 "title": "Removes canned answers from account",
22991 "title": "Example usage:",
22992 "content": "curl https://{domain}/api/sms/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
22996 "name": "RemoveAnswers",
22997 "group": "Sms_Accounts",
22998 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22999 "version": "0.0.0",
23000 "filename": "server/api/smsAccount/index.js",
23001 "groupTitle": "Sms_Accounts"
23005 "url": "/api/sms/accounts/{id}/dispositions",
23006 "title": "Removes dispositions from account",
23009 "title": "Example usage:",
23010 "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
23014 "name": "RemoveDispositions",
23015 "group": "Sms_Accounts",
23016 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23017 "version": "0.0.0",
23018 "filename": "server/api/smsAccount/index.js",
23019 "groupTitle": "Sms_Accounts"
23023 "url": "/api/sms/accounts/{id}",
23024 "title": "Gets a single Account",
23027 "title": "Example usage:",
23028 "content": "curl https://{domain}/api/sms/accounts/{id} -v -u {name}:{password}",
23032 "name": "ShowAccounts",
23033 "group": "Sms_Accounts",
23034 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23035 "version": "0.0.0",
23036 "filename": "server/api/smsAccount/index.js",
23037 "groupTitle": "Sms_Accounts"
23041 "url": "/api/sms/messages/{id}/accept",
23042 "title": "Accepts message",
23045 "title": "Example usage:",
23046 "content": "curl https://{domain}/api/sms/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
23050 "name": "acceptMessage",
23051 "group": "Sms_Accounts",
23052 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23053 "version": "0.0.0",
23054 "filename": "server/api/smsMessage/index.js",
23055 "groupTitle": "Sms_Accounts"
23059 "url": "/api/sms/accounts/{id}/canned_answers",
23060 "title": "Creates new canned answer",
23063 "title": "Example usage:",
23064 "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",
23068 "name": "addAnswer",
23069 "group": "Sms_Accounts",
23091 "field": "description",
23104 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23105 "version": "0.0.0",
23106 "filename": "server/api/smsAccount/index.js",
23107 "groupTitle": "Sms_Accounts"
23111 "url": "/api/sms/accounts/{id}/applications",
23112 "title": "Creates new applications",
23115 "title": "Example usage:",
23116 "content": "curl https://{domain}/api/sms/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
23120 "name": "addApplications",
23121 "group": "Sms_Accounts",
23129 "field": "priority",
23143 "field": "appdata",
23150 "field": "description",
23157 "field": "interval",
23163 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23164 "version": "0.0.0",
23165 "filename": "server/api/smsAccount/index.js",
23166 "groupTitle": "Sms_Accounts"
23170 "url": "/api/sms/accounts/{id}/dispositions",
23171 "title": "Creates new disposition",
23174 "title": "Example usage:",
23175 "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
23179 "name": "addDisposition",
23180 "group": "Sms_Accounts",
23207 "field": "description",
23213 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23214 "version": "0.0.0",
23215 "filename": "server/api/smsAccount/index.js",
23216 "groupTitle": "Sms_Accounts"
23220 "url": "/api/sms/accounts/{id}/canned_answers",
23221 "title": "Gets account canned answers",
23224 "title": "Example usage:",
23225 "content": "curl https://{domain}/api/sms/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
23229 "name": "getAnswers",
23230 "group": "Sms_Accounts",
23231 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23232 "version": "0.0.0",
23233 "filename": "server/api/smsAccount/index.js",
23234 "groupTitle": "Sms_Accounts"
23238 "url": "/api/sms/accounts/{id}/applications",
23239 "title": "Gets account applications",
23242 "title": "Example usage:",
23243 "content": "curl https://{domain}/api/sms/accounts/{id}/applications -v -u {name}:{password} -X GET",
23247 "name": "getApplications",
23248 "group": "Sms_Accounts",
23249 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23250 "version": "0.0.0",
23251 "filename": "server/api/smsAccount/index.js",
23252 "groupTitle": "Sms_Accounts"
23256 "url": "/api/sms/accounts/{id}/dispositions",
23257 "title": "Gets account dispositions",
23260 "title": "Example usage:",
23261 "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
23265 "name": "getDispositions",
23266 "group": "Sms_Accounts",
23267 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23268 "version": "0.0.0",
23269 "filename": "server/api/smsAccount/index.js",
23270 "groupTitle": "Sms_Accounts"
23274 "url": "/api/sms/accounts/{id}/interactions",
23275 "title": "Gets Sms Account interactions",
23278 "title": "Example usage:",
23279 "content": "curl https://{domain}/api/sms/accounts/{id}/interactions -v -u {name}:{password} -X GET",
23283 "name": "getInteractions",
23284 "group": "Sms_Accounts",
23285 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23286 "version": "0.0.0",
23287 "filename": "server/api/smsAccount/index.js",
23288 "groupTitle": "Sms_Accounts"
23292 "url": "/api/sms/accounts/{id}/notify",
23293 "title": "Notify new message",
23296 "title": "Example usage:",
23297 "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",
23302 "group": "Sms_Accounts",
23303 "description": "<p>Motion 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>",
23304 "version": "0.0.0",
23305 "filename": "server/api/smsAccount/index.js",
23306 "groupTitle": "Sms_Accounts"
23310 "url": "/api/sms/messages/{id}/reject",
23311 "title": "Rejects message",
23314 "title": "Example usage:",
23315 "content": "curl https://{domain}/api/sms/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
23319 "name": "rejectMessage",
23320 "group": "Sms_Accounts",
23321 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23322 "version": "0.0.0",
23323 "filename": "server/api/smsMessage/index.js",
23324 "groupTitle": "Sms_Accounts"
23328 "url": "/api/sms/accounts/{id}/send",
23329 "title": "Send new sms message",
23332 "title": "Example usage:",
23333 "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",
23338 "group": "Sms_Accounts",
23339 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23340 "version": "0.0.0",
23341 "filename": "server/api/smsAccount/index.js",
23342 "groupTitle": "Sms_Accounts"
23346 "url": "/api/sms/messages/{id}/status",
23347 "title": "Receive message status",
23350 "title": "Example usage:",
23351 "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
23355 "name": "statusMessage",
23356 "group": "Sms_Accounts",
23357 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23358 "version": "0.0.0",
23359 "filename": "server/api/smsMessage/index.js",
23360 "groupTitle": "Sms_Accounts"
23364 "url": "/api/sms/accounts/{id}/status",
23365 "title": "Receive message status",
23368 "title": "Example usage:",
23369 "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST",
23373 "name": "statusMessage",
23374 "group": "Sms_Accounts",
23375 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23376 "version": "0.0.0",
23377 "filename": "server/api/smsAccount/index.js",
23378 "groupTitle": "Sms_Accounts"
23382 "url": "/api/sms/accounts/{id}/status",
23383 "title": "Receive message status as get request",
23386 "title": "Example usage:",
23387 "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET",
23391 "name": "statusMessage",
23392 "group": "Sms_Accounts",
23393 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23394 "version": "0.0.0",
23395 "filename": "server/api/smsAccount/index.js",
23396 "groupTitle": "Sms_Accounts"
23400 "url": "/api/sms/accounts/{id}",
23401 "title": "Update an existing Account",
23404 "title": "Example usage:",
23405 "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",
23409 "name": "updateAccounts",
23410 "group": "Sms_Accounts",
23411 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23412 "version": "0.0.0",
23413 "filename": "server/api/smsAccount/index.js",
23414 "groupTitle": "Sms_Accounts"
23418 "url": "/api/sms/applications",
23419 "title": "Creates a new Application",
23422 "title": "Example usage:",
23423 "content": "curl https://{domain}/api/sms/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23427 "name": "CreateApplications",
23428 "group": "Sms_Applications",
23436 "field": "priority",
23450 "field": "appdata",
23457 "field": "description",
23464 "field": "interval",
23470 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23471 "version": "0.0.0",
23472 "filename": "server/api/smsApplication/index.js",
23473 "groupTitle": "Sms_Applications"
23477 "url": "/api/sms/applications/{id}",
23478 "title": "Deletes a Application",
23481 "title": "Example usage:",
23482 "content": "curl https://{domain}/api/sms/applications/{id} -v -u {name}:{password} -X DELETE",
23486 "name": "DeleteApplications",
23487 "group": "Sms_Applications",
23488 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23489 "version": "0.0.0",
23490 "filename": "server/api/smsApplication/index.js",
23491 "groupTitle": "Sms_Applications"
23495 "url": "/api/sms/applications",
23496 "title": "Gets a list of Applications",
23499 "title": "Example usage:",
23500 "content": "curl https://{domain}/api/sms/applications -v -u {name}:{password}",
23504 "name": "GetApplications",
23505 "group": "Sms_Applications",
23506 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
23507 "version": "0.0.0",
23508 "filename": "server/api/smsApplication/index.js",
23509 "groupTitle": "Sms_Applications"
23513 "url": "/api/sms/applications/{id}",
23514 "title": "Gets a single Application",
23517 "title": "Example usage:",
23518 "content": "curl https://{domain}/api/sms/applications/{id} -v -u {name}:{password}",
23522 "name": "ShowApplications",
23523 "group": "Sms_Applications",
23524 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23525 "version": "0.0.0",
23526 "filename": "server/api/smsApplication/index.js",
23527 "groupTitle": "Sms_Applications"
23531 "url": "/api/sms/applications/{id}",
23532 "title": "Update an existing Application",
23535 "title": "Example usage:",
23536 "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",
23540 "name": "updateApplications",
23541 "group": "Sms_Applications",
23542 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23543 "version": "0.0.0",
23544 "filename": "server/api/smsApplication/index.js",
23545 "groupTitle": "Sms_Applications"
23549 "url": "/api/sms/interactions/{id}/tags",
23550 "title": "Add tags to the interaction",
23553 "title": "Example usage:",
23554 "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",
23559 "group": "Sms_Interactions",
23560 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23561 "version": "0.0.0",
23562 "filename": "server/api/smsInteraction/index.js",
23563 "groupTitle": "Sms_Interactions"
23567 "url": "/api/sms/interactions",
23568 "title": "Creates a new Interaction",
23571 "title": "Example usage:",
23572 "content": "curl https://{domain}/api/sms/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23576 "name": "CreateInteractions",
23577 "group": "Sms_Interactions",
23592 "field": "closedAt",
23599 "field": "disposition",
23606 "field": "secondDisposition",
23613 "field": "thirdDisposition",
23634 "field": "read1stAt",
23645 "field": "firstMsgDirection",
23652 "field": "lastMsgAt",
23663 "field": "lastMsgDirection",
23669 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23670 "version": "0.0.0",
23671 "filename": "server/api/smsInteraction/index.js",
23672 "groupTitle": "Sms_Interactions"
23676 "url": "/api/sms/interactions/{id}",
23677 "title": "Deletes a Interaction",
23680 "title": "Example usage:",
23681 "content": "curl https://{domain}/api/sms/interactions/{id} -v -u {name}:{password} -X DELETE",
23685 "name": "DeleteInteractions",
23686 "group": "Sms_Interactions",
23687 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23688 "version": "0.0.0",
23689 "filename": "server/api/smsInteraction/index.js",
23690 "groupTitle": "Sms_Interactions"
23694 "url": "/api/sms/interactions/describe",
23695 "title": "Gets table info about Interactions",
23698 "title": "Example usage:",
23699 "content": "curl https://{domain}/api/sms/interactions/describe -v -u {name}:{password}",
23703 "name": "DescribeInteractions",
23704 "group": "Sms_Interactions",
23705 "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>",
23706 "version": "0.0.0",
23707 "filename": "server/api/smsInteraction/index.js",
23708 "groupTitle": "Sms_Interactions"
23712 "url": "/api/sms/interactions",
23713 "title": "Gets a list of Interactions",
23716 "title": "Example usage:",
23717 "content": "curl https://{domain}/api/sms/interactions -v -u {name}:{password}",
23721 "name": "GetInteractions",
23722 "group": "Sms_Interactions",
23723 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
23724 "version": "0.0.0",
23725 "filename": "server/api/smsInteraction/index.js",
23726 "groupTitle": "Sms_Interactions"
23730 "url": "/api/sms/interactions/{id}/tags",
23731 "title": "Removes tags from interaction",
23734 "title": "Example usage:",
23735 "content": "curl https://{domain}/api/sms/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
23739 "name": "RemoveTags",
23740 "group": "Sms_Interactions",
23741 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23742 "version": "0.0.0",
23743 "filename": "server/api/smsInteraction/index.js",
23744 "groupTitle": "Sms_Interactions"
23748 "url": "/api/sms/interactions/{id}",
23749 "title": "Gets a single Interaction",
23752 "title": "Example usage:",
23753 "content": "curl https://{domain}/api/sms/interactions/{id} -v -u {name}:{password}",
23757 "name": "ShowInteractions",
23758 "group": "Sms_Interactions",
23759 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23760 "version": "0.0.0",
23761 "filename": "server/api/smsInteraction/index.js",
23762 "groupTitle": "Sms_Interactions"
23766 "url": "/api/sms/interactions/{id}/messages",
23767 "title": "Creates new messages",
23770 "title": "Example usage:",
23771 "content": "curl https://{domain}/api/sms/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
23775 "name": "addMessage",
23776 "group": "Sms_Interactions",
23802 "field": "direction",
23809 "field": "messageId",
23837 "field": "providerName",
23844 "field": "providerResponse",
23850 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23851 "version": "0.0.0",
23852 "filename": "server/api/smsInteraction/index.js",
23853 "groupTitle": "Sms_Interactions"
23857 "url": "/api/sms/interactions/{id}/download",
23858 "title": "Gets interaction",
23861 "title": "Example usage:",
23862 "content": "curl https://{domain}/api/sms/interactions/{id}/download -v -u {name}:{password} -X GET",
23866 "name": "download",
23867 "group": "Sms_Interactions",
23868 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23869 "version": "0.0.0",
23870 "filename": "server/api/smsInteraction/index.js",
23871 "groupTitle": "Sms_Interactions"
23875 "url": "/api/sms/interactions/{id}/messages",
23876 "title": "Gets interaction messages",
23879 "title": "Example usage:",
23880 "content": "curl https://{domain}/api/sms/interactions/{id}/messages -v -u {name}:{password} -X GET",
23884 "name": "getMessages",
23885 "group": "Sms_Interactions",
23886 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23887 "version": "0.0.0",
23888 "filename": "server/api/smsInteraction/index.js",
23889 "groupTitle": "Sms_Interactions"
23893 "url": "/api/sms/interactions/{id}",
23894 "title": "Update an existing Interaction",
23897 "title": "Example usage:",
23898 "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",
23902 "name": "updateInteractions",
23903 "group": "Sms_Interactions",
23904 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23905 "version": "0.0.0",
23906 "filename": "server/api/smsInteraction/index.js",
23907 "groupTitle": "Sms_Interactions"
23911 "url": "/api/sms/messages",
23912 "title": "Creates a new Message",
23915 "title": "Example usage:",
23916 "content": "curl https://{domain}/api/sms/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23920 "name": "CreateMessages",
23921 "group": "Sms_Messages",
23947 "field": "direction",
23954 "field": "messageId",
23982 "field": "providerName",
23989 "field": "providerResponse",
23995 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23996 "version": "0.0.0",
23997 "filename": "server/api/smsMessage/index.js",
23998 "groupTitle": "Sms_Messages"
24002 "url": "/api/sms/messages/{id}",
24003 "title": "Deletes a Message",
24006 "title": "Example usage:",
24007 "content": "curl https://{domain}/api/sms/messages/{id} -v -u {name}:{password} -X DELETE",
24011 "name": "DeleteMessages",
24012 "group": "Sms_Messages",
24013 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24014 "version": "0.0.0",
24015 "filename": "server/api/smsMessage/index.js",
24016 "groupTitle": "Sms_Messages"
24020 "url": "/api/sms/messages/describe",
24021 "title": "Gets table info about Messages",
24024 "title": "Example usage:",
24025 "content": "curl https://{domain}/api/sms/messages/describe -v -u {name}:{password}",
24029 "name": "DescribeMessages",
24030 "group": "Sms_Messages",
24031 "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>",
24032 "version": "0.0.0",
24033 "filename": "server/api/smsMessage/index.js",
24034 "groupTitle": "Sms_Messages"
24038 "url": "/api/sms/messages",
24039 "title": "Gets a list of Messages",
24042 "title": "Example usage:",
24043 "content": "curl https://{domain}/api/sms/messages -v -u {name}:{password}",
24047 "name": "GetMessages",
24048 "group": "Sms_Messages",
24049 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24050 "version": "0.0.0",
24051 "filename": "server/api/smsMessage/index.js",
24052 "groupTitle": "Sms_Messages"
24056 "url": "/api/sms/messages/{id}",
24057 "title": "Gets a single Message",
24060 "title": "Example usage:",
24061 "content": "curl https://{domain}/api/sms/messages/{id} -v -u {name}:{password}",
24065 "name": "ShowMessages",
24066 "group": "Sms_Messages",
24067 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24068 "version": "0.0.0",
24069 "filename": "server/api/smsMessage/index.js",
24070 "groupTitle": "Sms_Messages"
24074 "url": "/api/sms/messages/{id}",
24075 "title": "Update an existing Message",
24078 "title": "Example usage:",
24079 "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",
24083 "name": "updateMessages",
24084 "group": "Sms_Messages",
24085 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24086 "version": "0.0.0",
24087 "filename": "server/api/smsMessage/index.js",
24088 "groupTitle": "Sms_Messages"
24092 "url": "/api/sms/reports/queue",
24093 "title": "Creates a new Sms Queue Report",
24096 "title": "Example usage:",
24097 "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",
24101 "name": "CreateSms_Queue_Reports",
24102 "group": "Sms_Queue_Reports",
24110 "field": "uniqueid",
24131 "field": "leaveAt",
24138 "field": "acceptAt",
24158 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24159 "version": "0.0.0",
24160 "filename": "server/api/smsQueueReport/index.js",
24161 "groupTitle": "Sms_Queue_Reports"
24165 "url": "/api/sms/reports/queue/{id}",
24166 "title": "Deletes a Sms Queue Report",
24169 "title": "Example usage:",
24170 "content": "curl https://{domain}/api/sms/reports/queue/{id} -v -u {name}:{password} -X DELETE",
24174 "name": "DeleteSms_Queue_Reports",
24175 "group": "Sms_Queue_Reports",
24176 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24177 "version": "0.0.0",
24178 "filename": "server/api/smsQueueReport/index.js",
24179 "groupTitle": "Sms_Queue_Reports"
24183 "url": "/api/sms/reports/queue/describe",
24184 "title": "Gets table info about Sms Queue Reports",
24187 "title": "Example usage:",
24188 "content": "curl https://{domain}/api/sms/reports/queue/describe -v -u {name}:{password}",
24192 "name": "DescribeSms_Queue_Reports",
24193 "group": "Sms_Queue_Reports",
24194 "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>",
24195 "version": "0.0.0",
24196 "filename": "server/api/smsQueueReport/index.js",
24197 "groupTitle": "Sms_Queue_Reports"
24201 "url": "/api/sms/reports/queue",
24202 "title": "Gets a list of Sms Queue Reports",
24205 "title": "Example usage:",
24206 "content": "curl https://{domain}/api/sms/reports/queue -v -u {name}:{password}",
24210 "name": "GetSms_Queue_Reports",
24211 "group": "Sms_Queue_Reports",
24212 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24213 "version": "0.0.0",
24214 "filename": "server/api/smsQueueReport/index.js",
24215 "groupTitle": "Sms_Queue_Reports"
24219 "url": "/api/sms/reports/queue/{id}",
24220 "title": "Gets a single Sms Queue Report",
24223 "title": "Example usage:",
24224 "content": "curl https://{domain}/api/sms/reports/queue/{id} -v -u {name}:{password}",
24228 "name": "ShowSms_Queue_Reports",
24229 "group": "Sms_Queue_Reports",
24230 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24231 "version": "0.0.0",
24232 "filename": "server/api/smsQueueReport/index.js",
24233 "groupTitle": "Sms_Queue_Reports"
24237 "url": "/api/sms/reports/queue/{id}",
24238 "title": "Update an existing Sms Queue Report",
24241 "title": "Example usage:",
24242 "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",
24246 "name": "updateSms_Queue_Reports",
24247 "group": "Sms_Queue_Reports",
24248 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24249 "version": "0.0.0",
24250 "filename": "server/api/smsQueueReport/index.js",
24251 "groupTitle": "Sms_Queue_Reports"
24255 "url": "/api/sms/queues/{id}/users",
24256 "title": "Add agents to a queue",
24259 "title": "Example usage:",
24260 "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",
24264 "name": "AddAgents",
24265 "group": "Sms_Queues",
24266 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24267 "version": "0.0.0",
24268 "filename": "server/api/smsQueue/index.js",
24269 "groupTitle": "Sms_Queues"
24273 "url": "/api/sms/queues/{id}/teams",
24274 "title": "Add teams to a queue",
24277 "title": "Example usage:",
24278 "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",
24282 "name": "AddTeams",
24283 "group": "Sms_Queues",
24284 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24285 "version": "0.0.0",
24286 "filename": "server/api/smsQueue/index.js",
24287 "groupTitle": "Sms_Queues"
24291 "url": "/api/sms/queues",
24292 "title": "Creates a new Queue",
24295 "title": "Example usage:",
24296 "content": "curl https://{domain}/api/sms/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24300 "name": "CreateQueues",
24301 "group": "Sms_Queues",
24316 "field": "description",
24323 "field": "timeout",
24335 "field": "strategy",
24341 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24342 "version": "0.0.0",
24343 "filename": "server/api/smsQueue/index.js",
24344 "groupTitle": "Sms_Queues"
24348 "url": "/api/sms/queues/{id}",
24349 "title": "Deletes a Queue",
24352 "title": "Example usage:",
24353 "content": "curl https://{domain}/api/sms/queues/{id} -v -u {name}:{password} -X DELETE",
24357 "name": "DeleteQueues",
24358 "group": "Sms_Queues",
24359 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24360 "version": "0.0.0",
24361 "filename": "server/api/smsQueue/index.js",
24362 "groupTitle": "Sms_Queues"
24366 "url": "/api/sms/queues/describe",
24367 "title": "Gets table info about Queues",
24370 "title": "Example usage:",
24371 "content": "curl https://{domain}/api/sms/queues/describe -v -u {name}:{password}",
24375 "name": "DescribeQueues",
24376 "group": "Sms_Queues",
24377 "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>",
24378 "version": "0.0.0",
24379 "filename": "server/api/smsQueue/index.js",
24380 "groupTitle": "Sms_Queues"
24384 "url": "/api/sms/queues/{id}/users",
24385 "title": "Gets queue agents",
24388 "title": "Example usage:",
24389 "content": "curl https://{domain}/api/sms/queues/{id}/users -v -u {name}:{password} -X POST",
24393 "name": "GetAgents",
24394 "group": "Sms_Queues",
24395 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24396 "version": "0.0.0",
24397 "filename": "server/api/smsQueue/index.js",
24398 "groupTitle": "Sms_Queues"
24402 "url": "/api/sms/queues/{id}/members",
24403 "title": "GetMembers",
24406 "title": "Example usage:",
24407 "content": "curl https://{domain}/api/sms/queues/{id}/members -v -u {name}:{password}",
24411 "name": "GetMembers",
24412 "group": "Sms_Queues",
24413 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24414 "version": "0.0.0",
24415 "filename": "server/api/smsQueue/index.js",
24416 "groupTitle": "Sms_Queues"
24420 "url": "/api/sms/queues",
24421 "title": "Gets a list of Queues",
24424 "title": "Example usage:",
24425 "content": "curl https://{domain}/api/sms/queues -v -u {name}:{password}",
24429 "name": "GetQueues",
24430 "group": "Sms_Queues",
24431 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24432 "version": "0.0.0",
24433 "filename": "server/api/smsQueue/index.js",
24434 "groupTitle": "Sms_Queues"
24438 "url": "/api/sms/queues/{id}/teams",
24439 "title": "Gets queues list",
24442 "title": "Example usage:",
24443 "content": "curl https://{domain}/api/sms/queues/{id}/teams -v -u {name}:{password}",
24447 "name": "GetTeams",
24448 "group": "Sms_Queues",
24449 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24450 "version": "0.0.0",
24451 "filename": "server/api/smsQueue/index.js",
24452 "groupTitle": "Sms_Queues"
24456 "url": "/api/sms/queues/{id}/users",
24457 "title": "Removes agents from a queue",
24460 "title": "Example usage:",
24461 "content": "curl https://{domain}/api/sms/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
24465 "name": "RemoveAgents",
24466 "group": "Sms_Queues",
24467 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24468 "version": "0.0.0",
24469 "filename": "server/api/smsQueue/index.js",
24470 "groupTitle": "Sms_Queues"
24474 "url": "/api/sms/queues/{id}",
24475 "title": "Gets a single Queue",
24478 "title": "Example usage:",
24479 "content": "curl https://{domain}/api/sms/queues/{id} -v -u {name}:{password}",
24483 "name": "ShowQueues",
24484 "group": "Sms_Queues",
24485 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24486 "version": "0.0.0",
24487 "filename": "server/api/smsQueue/index.js",
24488 "groupTitle": "Sms_Queues"
24492 "url": "/api/sms/queues/{id}",
24493 "title": "Update an existing Queue",
24496 "title": "Example usage:",
24497 "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",
24501 "name": "updateQueues",
24502 "group": "Sms_Queues",
24503 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24504 "version": "0.0.0",
24505 "filename": "server/api/smsQueue/index.js",
24506 "groupTitle": "Sms_Queues"
24510 "url": "/api/sms/reports/transfer",
24511 "title": "Creates a new Sms Transfer Report",
24514 "title": "Example usage:",
24515 "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",
24519 "name": "CreateSms_Transfer_Reports",
24520 "group": "Sms_Transfer_Reports",
24528 "field": "uniqueid",
24547 "field": "transferredAt",
24553 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24554 "version": "0.0.0",
24555 "filename": "server/api/smsTransferReport/index.js",
24556 "groupTitle": "Sms_Transfer_Reports"
24560 "url": "/api/sms/reports/transfer/{id}",
24561 "title": "Deletes a Sms Transfer Report",
24564 "title": "Example usage:",
24565 "content": "curl https://{domain}/api/sms/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
24569 "name": "DeleteSms_Transfer_Reports",
24570 "group": "Sms_Transfer_Reports",
24571 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24572 "version": "0.0.0",
24573 "filename": "server/api/smsTransferReport/index.js",
24574 "groupTitle": "Sms_Transfer_Reports"
24578 "url": "/api/sms/reports/transfer/describe",
24579 "title": "Gets table info about Sms Transfer Reports",
24582 "title": "Example usage:",
24583 "content": "curl https://{domain}/api/sms/reports/transfer/describe -v -u {name}:{password}",
24587 "name": "DescribeSms_Transfer_Reports",
24588 "group": "Sms_Transfer_Reports",
24589 "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>",
24590 "version": "0.0.0",
24591 "filename": "server/api/smsTransferReport/index.js",
24592 "groupTitle": "Sms_Transfer_Reports"
24596 "url": "/api/sms/reports/transfer",
24597 "title": "Gets a list of Sms Transfer Reports",
24600 "title": "Example usage:",
24601 "content": "curl https://{domain}/api/sms/reports/transfer -v -u {name}:{password}",
24605 "name": "GetSms_Transfer_Reports",
24606 "group": "Sms_Transfer_Reports",
24607 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24608 "version": "0.0.0",
24609 "filename": "server/api/smsTransferReport/index.js",
24610 "groupTitle": "Sms_Transfer_Reports"
24614 "url": "/api/sms/reports/transfer/{id}",
24615 "title": "Gets a single Sms Transfer Report",
24618 "title": "Example usage:",
24619 "content": "curl https://{domain}/api/sms/reports/transfer/{id} -v -u {name}:{password}",
24623 "name": "ShowSms_Transfer_Reports",
24624 "group": "Sms_Transfer_Reports",
24625 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24626 "version": "0.0.0",
24627 "filename": "server/api/smsTransferReport/index.js",
24628 "groupTitle": "Sms_Transfer_Reports"
24632 "url": "/api/sms/reports/transfer/{id}",
24633 "title": "Update an existing Sms Transfer Report",
24636 "title": "Example usage:",
24637 "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",
24641 "name": "updateSms_Transfer_Reports",
24642 "group": "Sms_Transfer_Reports",
24643 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24644 "version": "0.0.0",
24645 "filename": "server/api/smsTransferReport/index.js",
24646 "groupTitle": "Sms_Transfer_Reports"
24650 "url": "/api/sounds",
24651 "title": "Gets a list of Sounds",
24654 "title": "Example usage:",
24655 "content": "curl https://{domain}/api/sounds -v -u {name}:{password}",
24659 "name": "GetSounds",
24661 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24662 "version": "0.0.0",
24663 "filename": "server/api/sound/index.js",
24664 "groupTitle": "Sounds"
24668 "url": "/api/sounds/{id}",
24669 "title": "Gets a single Sound",
24672 "title": "Example usage:",
24673 "content": "curl https://{domain}/api/sounds/{id} -v -u {name}:{password}",
24677 "name": "ShowSounds",
24679 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24680 "version": "0.0.0",
24681 "filename": "server/api/sound/index.js",
24682 "groupTitle": "Sounds"
24686 "url": "/api/sounds",
24687 "title": "Create a new sound",
24690 "title": "Example usage:",
24691 "content": "curl https://{domain}/api/sounds -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
24695 "name": "addSound",
24697 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24698 "version": "0.0.0",
24699 "filename": "server/api/sound/index.js",
24700 "groupTitle": "Sounds"
24704 "url": "/api/sounds/{id}",
24705 "title": "Deletes a sound",
24708 "title": "Example usage:",
24709 "content": "curl https://{domain}/api/sounds/{id} -v -u {name}:{password} -X DELETE",
24713 "name": "destroySound",
24715 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24716 "version": "0.0.0",
24717 "filename": "server/api/sound/index.js",
24718 "groupTitle": "Sounds"
24722 "url": "/api/sounds/{id}/download",
24723 "title": "Download Sound",
24726 "title": "Example usage:",
24727 "content": "curl https://{domain}/api/sounds/{id}/download -v -u {name}:{password} -X GET",
24731 "name": "download",
24733 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24734 "version": "0.0.0",
24735 "filename": "server/api/sound/index.js",
24736 "groupTitle": "Sounds"
24740 "url": "/api/sounds",
24741 "title": "Update an existing new sound",
24744 "title": "Example usage:",
24745 "content": "curl https://{domain}/api/sounds -d '[\"name\": \"sound_name\", \"description\": \"sound_desc\"]' -v -u {name}:{password} -X PUT",
24749 "name": "updateSound",
24751 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24752 "version": "0.0.0",
24753 "filename": "server/api/sound/index.js",
24754 "groupTitle": "Sounds"
24758 "url": "/api/square/details/reports",
24759 "title": "Creates a new Square Detail Report",
24762 "title": "Example usage:",
24763 "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",
24767 "name": "CreateSquare_Detail_Reports",
24768 "group": "Square_Details_Reports",
24776 "field": "uniqueid",
24790 "field": "application",
24804 "field": "project_name",
24811 "field": "callerid",
24817 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24818 "version": "0.0.0",
24819 "filename": "server/api/squareReportDetail/index.js",
24820 "groupTitle": "Square_Details_Reports"
24824 "url": "/api/square/details/reports/{id}",
24825 "title": "Deletes a Square Detail Report",
24828 "title": "Example usage:",
24829 "content": "curl https://{domain}/api/square/details/reports/{id} -v -u {name}:{password} -X DELETE",
24833 "name": "DeleteSquare_Detail_Reports",
24834 "group": "Square_Details_Reports",
24835 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24836 "version": "0.0.0",
24837 "filename": "server/api/squareReportDetail/index.js",
24838 "groupTitle": "Square_Details_Reports"
24842 "url": "/api/square/details/reports/describe",
24843 "title": "Gets table info about Square Detail Reports",
24846 "title": "Example usage:",
24847 "content": "curl https://{domain}/api/square/details/reports/describe -v -u {name}:{password}",
24851 "name": "DescribeSquare_Detail_Reports",
24852 "group": "Square_Details_Reports",
24853 "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>",
24854 "version": "0.0.0",
24855 "filename": "server/api/squareReportDetail/index.js",
24856 "groupTitle": "Square_Details_Reports"
24860 "url": "/api/square/details/reports",
24861 "title": "Gets a list of Square Detail Reports",
24864 "title": "Example usage:",
24865 "content": "curl https://{domain}/api/square/details/reports -v -u {name}:{password}",
24869 "name": "GetSquare_Detail_Reports",
24870 "group": "Square_Details_Reports",
24871 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24872 "version": "0.0.0",
24873 "filename": "server/api/squareReportDetail/index.js",
24874 "groupTitle": "Square_Details_Reports"
24878 "url": "/api/square/details/reports/{id}",
24879 "title": "Gets a single Square Detail Report",
24882 "title": "Example usage:",
24883 "content": "curl https://{domain}/api/square/details/reports/{id} -v -u {name}:{password}",
24887 "name": "ShowSquare_Detail_Reports",
24888 "group": "Square_Details_Reports",
24889 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24890 "version": "0.0.0",
24891 "filename": "server/api/squareReportDetail/index.js",
24892 "groupTitle": "Square_Details_Reports"
24896 "url": "/api/square/details/reports/{id}",
24897 "title": "Update an existing Square Detail Report",
24900 "title": "Example usage:",
24901 "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",
24905 "name": "updateSquare_Detail_Reports",
24906 "group": "Square_Details_Reports",
24907 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24908 "version": "0.0.0",
24909 "filename": "server/api/squareReportDetail/index.js",
24910 "groupTitle": "Square_Details_Reports"
24914 "url": "/api/square/messages",
24915 "title": "Creates a new Message",
24918 "title": "Example usage:",
24919 "content": "curl https://{domain}/api/square/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24923 "name": "CreateMessages",
24924 "group": "Square_Messages",
24932 "field": "uniqueid",
24950 "field": "direction",
24957 "field": "providerName",
24964 "field": "providerResponse",
24970 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24971 "version": "0.0.0",
24972 "filename": "server/api/squareMessage/index.js",
24973 "groupTitle": "Square_Messages"
24977 "url": "/api/square/messages/{id}",
24978 "title": "Deletes a Message",
24981 "title": "Example usage:",
24982 "content": "curl https://{domain}/api/square/messages/{id} -v -u {name}:{password} -X DELETE",
24986 "name": "DeleteMessages",
24987 "group": "Square_Messages",
24988 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24989 "version": "0.0.0",
24990 "filename": "server/api/squareMessage/index.js",
24991 "groupTitle": "Square_Messages"
24995 "url": "/api/square/messages",
24996 "title": "Gets a list of Messages",
24999 "title": "Example usage:",
25000 "content": "curl https://{domain}/api/square/messages -v -u {name}:{password}",
25004 "name": "GetMessages",
25005 "group": "Square_Messages",
25006 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25007 "version": "0.0.0",
25008 "filename": "server/api/squareMessage/index.js",
25009 "groupTitle": "Square_Messages"
25013 "url": "/api/square/messages/{id}",
25014 "title": "Gets a single Message",
25017 "title": "Example usage:",
25018 "content": "curl https://{domain}/api/square/messages/{id} -v -u {name}:{password}",
25022 "name": "ShowMessages",
25023 "group": "Square_Messages",
25024 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25025 "version": "0.0.0",
25026 "filename": "server/api/squareMessage/index.js",
25027 "groupTitle": "Square_Messages"
25031 "url": "/api/square/messages/{id}",
25032 "title": "Update an existing Message",
25035 "title": "Example usage:",
25036 "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",
25040 "name": "updateMessages",
25041 "group": "Square_Messages",
25042 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25043 "version": "0.0.0",
25044 "filename": "server/api/squareMessage/index.js",
25045 "groupTitle": "Square_Messages"
25049 "url": "/api/square/odbc",
25050 "title": "Creates a new ODBC",
25053 "title": "Example usage:",
25054 "content": "curl https://{domain}/api/square/odbc -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25058 "name": "CreateODBCs",
25059 "group": "Square_ODBC",
25081 "field": "description",
25087 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25088 "version": "0.0.0",
25089 "filename": "server/api/squareOdbc/index.js",
25090 "groupTitle": "Square_ODBC"
25094 "url": "/api/square/odbc/{id}",
25095 "title": "Deletes a ODBC",
25098 "title": "Example usage:",
25099 "content": "curl https://{domain}/api/square/odbc/{id} -v -u {name}:{password} -X DELETE",
25103 "name": "DeleteODBCs",
25104 "group": "Square_ODBC",
25105 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25106 "version": "0.0.0",
25107 "filename": "server/api/squareOdbc/index.js",
25108 "groupTitle": "Square_ODBC"
25112 "url": "/api/square/odbc",
25113 "title": "Gets a list of ODBCs",
25116 "title": "Example usage:",
25117 "content": "curl https://{domain}/api/square/odbc -v -u {name}:{password}",
25121 "name": "GetODBCs",
25122 "group": "Square_ODBC",
25123 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25124 "version": "0.0.0",
25125 "filename": "server/api/squareOdbc/index.js",
25126 "groupTitle": "Square_ODBC"
25130 "url": "/api/square/odbc/{id}",
25131 "title": "Gets a single ODBC",
25134 "title": "Example usage:",
25135 "content": "curl https://{domain}/api/square/odbc/{id} -v -u {name}:{password}",
25139 "name": "ShowODBCs",
25140 "group": "Square_ODBC",
25141 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25142 "version": "0.0.0",
25143 "filename": "server/api/squareOdbc/index.js",
25144 "groupTitle": "Square_ODBC"
25148 "url": "/api/square/odbc/{id}/test",
25149 "title": "Test Odbc",
25152 "title": "Example usage:",
25153 "content": "curl https://{domain}/api/square/odbc/{id}/test -v -u {name}:{password} -X GET",
25158 "group": "Square_ODBC",
25159 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25160 "version": "0.0.0",
25161 "filename": "server/api/squareOdbc/index.js",
25162 "groupTitle": "Square_ODBC"
25166 "url": "/api/square/odbc/{id}",
25167 "title": "Update an existing ODBC",
25170 "title": "Example usage:",
25171 "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",
25175 "name": "updateODBCs",
25176 "group": "Square_ODBC",
25177 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25178 "version": "0.0.0",
25179 "filename": "server/api/squareOdbc/index.js",
25180 "groupTitle": "Square_ODBC"
25184 "url": "/api/square/projects",
25185 "title": "Creates a new Project",
25188 "title": "Example usage:",
25189 "content": "curl https://{domain}/api/square/projects -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25193 "name": "CreateProjects",
25194 "group": "Square_Projects",
25209 "field": "description",
25223 "field": "preproduction",
25230 "field": "production",
25237 "field": "savedAt",
25244 "field": "publishedAt",
25250 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25251 "version": "0.0.0",
25252 "filename": "server/api/squareProject/index.js",
25253 "groupTitle": "Square_Projects"
25257 "url": "/api/square/projects/{id}",
25258 "title": "Deletes a Project",
25261 "title": "Example usage:",
25262 "content": "curl https://{domain}/api/square/projects/{id} -v -u {name}:{password} -X DELETE",
25266 "name": "DeleteProjects",
25267 "group": "Square_Projects",
25268 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25269 "version": "0.0.0",
25270 "filename": "server/api/squareProject/index.js",
25271 "groupTitle": "Square_Projects"
25275 "url": "/api/square/projects",
25276 "title": "Gets a list of Projects",
25279 "title": "Example usage:",
25280 "content": "curl https://{domain}/api/square/projects -v -u {name}:{password}",
25284 "name": "GetProjects",
25285 "group": "Square_Projects",
25286 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25287 "version": "0.0.0",
25288 "filename": "server/api/squareProject/index.js",
25289 "groupTitle": "Square_Projects"
25293 "url": "/api/square/projects/{id}",
25294 "title": "Gets a single Project",
25297 "title": "Example usage:",
25298 "content": "curl https://{domain}/api/square/projects/{id} -v -u {name}:{password}",
25302 "name": "ShowProjects",
25303 "group": "Square_Projects",
25304 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25305 "version": "0.0.0",
25306 "filename": "server/api/squareProject/index.js",
25307 "groupTitle": "Square_Projects"
25311 "url": "/api/square/projects/{id}/users",
25312 "title": "Adds user permissions to a Project",
25315 "title": "Example usage:",
25316 "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",
25320 "name": "addUsers",
25321 "group": "Square_Projects",
25322 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25323 "version": "0.0.0",
25324 "filename": "server/api/squareProject/index.js",
25325 "groupTitle": "Square_Projects"
25329 "url": "/api/square/projects/{id}/users",
25330 "title": "Gets users permissions from Project",
25333 "title": "Example usage:",
25334 "content": "curl https://{domain}/api/square/projects/{id}/users -v -u {name}:{password} -X GET",
25338 "name": "getUsers",
25339 "group": "Square_Projects",
25340 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25341 "version": "0.0.0",
25342 "filename": "server/api/squareProject/index.js",
25343 "groupTitle": "Square_Projects"
25347 "url": "/api/square/projects/{id}/users",
25348 "title": "Removes user permissions from a Project",
25351 "title": "Example usage:",
25352 "content": "curl https://{domain}/api/square/projects/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
25356 "name": "removeUsers",
25357 "group": "Square_Projects",
25358 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25359 "version": "0.0.0",
25360 "filename": "server/api/squareProject/index.js",
25361 "groupTitle": "Square_Projects"
25365 "url": "/api/square/projects/{id}",
25366 "title": "Update an existing Project",
25369 "title": "Example usage:",
25370 "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",
25374 "name": "updateProjects",
25375 "group": "Square_Projects",
25376 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25377 "version": "0.0.0",
25378 "filename": "server/api/squareProject/index.js",
25379 "groupTitle": "Square_Projects"
25383 "url": "/api/square/recordings",
25384 "title": "Creates a new Recording",
25387 "title": "Example usage:",
25388 "content": "curl https://{domain}/api/square/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25392 "name": "CreateRecordings",
25393 "group": "Square_Recordings",
25401 "field": "uniqueid",
25408 "field": "callerid",
25415 "field": "calleridname",
25422 "field": "context",
25429 "field": "extension",
25436 "field": "priority",
25443 "field": "accountcode",
25457 "field": "projectName",
25464 "field": "saveName",
25471 "field": "filename",
25478 "field": "savePath",
25491 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25492 "version": "0.0.0",
25493 "filename": "server/api/squareRecording/index.js",
25494 "groupTitle": "Square_Recordings"
25498 "url": "/api/square/recordings",
25499 "title": "Gets a list of Recordings",
25502 "title": "Example usage:",
25503 "content": "curl https://{domain}/api/square/recordings -v -u {name}:{password}",
25507 "name": "GetRecordings",
25508 "group": "Square_Recordings",
25509 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25510 "version": "0.0.0",
25511 "filename": "server/api/squareRecording/index.js",
25512 "groupTitle": "Square_Recordings"
25516 "url": "/api/square/recordings/{id}",
25517 "title": "Gets a single Recording",
25520 "title": "Example usage:",
25521 "content": "curl https://{domain}/api/square/recordings/{id} -v -u {name}:{password}",
25525 "name": "ShowRecordings",
25526 "group": "Square_Recordings",
25527 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25528 "version": "0.0.0",
25529 "filename": "server/api/squareRecording/index.js",
25530 "groupTitle": "Square_Recordings"
25534 "url": "/api/square/recordings/{id}",
25535 "title": "Delete recording",
25538 "title": "Example usage:",
25539 "content": "curl https://{domain}/api/square/recordings/{id} -v -u {name}:{password} -X DELETE",
25544 "group": "Square_Recordings",
25545 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25546 "version": "0.0.0",
25547 "filename": "server/api/squareRecording/index.js",
25548 "groupTitle": "Square_Recordings"
25552 "url": "/api/square/recordings/{id}/download",
25553 "title": "Download Recording",
25556 "title": "Example usage:",
25557 "content": "curl https://{domain}/api/square/recordings/{id}/download -v -u {name}:{password} -X GET",
25561 "name": "download",
25562 "group": "Square_Recordings",
25563 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25564 "version": "0.0.0",
25565 "filename": "server/api/squareRecording/index.js",
25566 "groupTitle": "Square_Recordings"
25570 "url": "/api/square/recordings/{id}",
25571 "title": "Update an existing Recording",
25574 "title": "Example usage:",
25575 "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",
25579 "name": "updateRecordings",
25580 "group": "Square_Recordings",
25581 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25582 "version": "0.0.0",
25583 "filename": "server/api/squareRecording/index.js",
25584 "groupTitle": "Square_Recordings"
25588 "url": "/api/square/reports",
25589 "title": "Creates a new Square Report",
25592 "title": "Example usage:",
25593 "content": "curl https://{domain}/api/square/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25597 "name": "CreateSquare_Reports",
25598 "group": "Square_Reports",
25606 "field": "network",
25613 "field": "network_script",
25620 "field": "request",
25627 "field": "channel",
25634 "field": "language",
25648 "field": "uniqueid",
25655 "field": "version",
25662 "field": "callerid",
25669 "field": "calleridname",
25676 "field": "callingpres",
25683 "field": "callingani2",
25690 "field": "callington",
25697 "field": "callingtns",
25718 "field": "context",
25725 "field": "extension",
25732 "field": "priority",
25739 "field": "enhanced",
25746 "field": "accountcode",
25753 "field": "threadid",
25760 "field": "project_name",
25774 "field": "leaveAt",
25787 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25788 "version": "0.0.0",
25789 "filename": "server/api/squareReport/index.js",
25790 "groupTitle": "Square_Reports"
25794 "url": "/api/square/reports/{id}",
25795 "title": "Deletes a Square Report",
25798 "title": "Example usage:",
25799 "content": "curl https://{domain}/api/square/reports/{id} -v -u {name}:{password} -X DELETE",
25803 "name": "DeleteSquare_Reports",
25804 "group": "Square_Reports",
25805 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25806 "version": "0.0.0",
25807 "filename": "server/api/squareReport/index.js",
25808 "groupTitle": "Square_Reports"
25812 "url": "/api/square/reports/describe",
25813 "title": "Gets table info about Square Reports",
25816 "title": "Example usage:",
25817 "content": "curl https://{domain}/api/square/reports/describe -v -u {name}:{password}",
25821 "name": "DescribeSquare_Reports",
25822 "group": "Square_Reports",
25823 "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>",
25824 "version": "0.0.0",
25825 "filename": "server/api/squareReport/index.js",
25826 "groupTitle": "Square_Reports"
25830 "url": "/api/square/reports",
25831 "title": "Gets a list of Square Reports",
25834 "title": "Example usage:",
25835 "content": "curl https://{domain}/api/square/reports -v -u {name}:{password}",
25839 "name": "GetSquare_Reports",
25840 "group": "Square_Reports",
25841 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25842 "version": "0.0.0",
25843 "filename": "server/api/squareReport/index.js",
25844 "groupTitle": "Square_Reports"
25848 "url": "/api/square/reports/{id}",
25849 "title": "Gets a single Square Report",
25852 "title": "Example usage:",
25853 "content": "curl https://{domain}/api/square/reports/{id} -v -u {name}:{password}",
25857 "name": "ShowSquare_Reports",
25858 "group": "Square_Reports",
25859 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25860 "version": "0.0.0",
25861 "filename": "server/api/squareReport/index.js",
25862 "groupTitle": "Square_Reports"
25866 "url": "/api/square/reports/{id}",
25867 "title": "Update an existing Square Report",
25870 "title": "Example usage:",
25871 "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",
25875 "name": "updateSquare_Reports",
25876 "group": "Square_Reports",
25877 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25878 "version": "0.0.0",
25879 "filename": "server/api/squareReport/index.js",
25880 "groupTitle": "Square_Reports"
25884 "url": "/api/integrations/sugarcrm/configurations",
25885 "title": "Creates a new SugarCRM Configuration",
25888 "title": "Example usage:",
25889 "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",
25893 "name": "CreateSugarCRM_Configurations",
25894 "group": "SugarCRM_Configurations",
25909 "field": "description",
25915 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25916 "version": "0.0.0",
25917 "filename": "server/api/intSugarcrmConfiguration/index.js",
25918 "groupTitle": "SugarCRM_Configurations"
25922 "url": "/api/integrations/sugarcrm/configurations/{id}",
25923 "title": "Deletes a SugarCRM Configuration",
25926 "title": "Example usage:",
25927 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id} -v -u {name}:{password} -X DELETE",
25931 "name": "DeleteSugarCRM_Configurations",
25932 "group": "SugarCRM_Configurations",
25933 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25934 "version": "0.0.0",
25935 "filename": "server/api/intSugarcrmConfiguration/index.js",
25936 "groupTitle": "SugarCRM_Configurations"
25940 "url": "/api/integrations/sugarcrm/configurations",
25941 "title": "Gets a list of SugarCRM Configurations",
25944 "title": "Example usage:",
25945 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations -v -u {name}:{password}",
25949 "name": "GetSugarCRM_Configurations",
25950 "group": "SugarCRM_Configurations",
25951 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25952 "version": "0.0.0",
25953 "filename": "server/api/intSugarcrmConfiguration/index.js",
25954 "groupTitle": "SugarCRM_Configurations"
25958 "url": "/api/integrations/sugarcrm/configurations/{id}",
25959 "title": "Gets a single SugarCRM Configuration",
25962 "title": "Example usage:",
25963 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id} -v -u {name}:{password}",
25967 "name": "ShowSugarCRM_Configurations",
25968 "group": "SugarCRM_Configurations",
25969 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25970 "version": "0.0.0",
25971 "filename": "server/api/intSugarcrmConfiguration/index.js",
25972 "groupTitle": "SugarCRM_Configurations"
25976 "url": "/api/integrations/sugarcrm/configurations/{id}",
25977 "title": "Update an existing SugarCRM Configuration",
25980 "title": "Example usage:",
25981 "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",
25985 "name": "updateSugarCRM_Configurations",
25986 "group": "SugarCRM_Configurations",
25987 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25988 "version": "0.0.0",
25989 "filename": "server/api/intSugarcrmConfiguration/index.js",
25990 "groupTitle": "SugarCRM_Configurations"
25994 "url": "/api/integrations/sugarcrm/accounts",
25995 "title": "Creates a new Sugarcrm Account",
25998 "title": "Example usage:",
25999 "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",
26003 "name": "CreateSugarcrm_Accounts",
26004 "group": "Sugarcrm_Accounts",
26019 "field": "description",
26026 "field": "username",
26033 "field": "password",
26040 "field": "remoteUri",
26047 "field": "serverUrl",
26053 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26054 "version": "0.0.0",
26055 "filename": "server/api/intSugarcrmAccount/index.js",
26056 "groupTitle": "Sugarcrm_Accounts"
26060 "url": "/api/integrations/sugarcrm/accounts/{id}",
26061 "title": "Deletes a Sugarcrm Account",
26064 "title": "Example usage:",
26065 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id} -v -u {name}:{password} -X DELETE",
26069 "name": "DeleteSugarcrm_Accounts",
26070 "group": "Sugarcrm_Accounts",
26071 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26072 "version": "0.0.0",
26073 "filename": "server/api/intSugarcrmAccount/index.js",
26074 "groupTitle": "Sugarcrm_Accounts"
26078 "url": "/api/integrations/sugarcrm/accounts",
26079 "title": "Gets a list of Sugarcrm Accounts",
26082 "title": "Example usage:",
26083 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts -v -u {name}:{password}",
26087 "name": "GetSugarcrm_Accounts",
26088 "group": "Sugarcrm_Accounts",
26089 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
26090 "version": "0.0.0",
26091 "filename": "server/api/intSugarcrmAccount/index.js",
26092 "groupTitle": "Sugarcrm_Accounts"
26096 "url": "/api/integrations/sugarcrm/accounts/{id}",
26097 "title": "Gets a single Sugarcrm Account",
26100 "title": "Example usage:",
26101 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id} -v -u {name}:{password}",
26105 "name": "ShowSugarcrm_Accounts",
26106 "group": "Sugarcrm_Accounts",
26107 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26108 "version": "0.0.0",
26109 "filename": "server/api/intSugarcrmAccount/index.js",
26110 "groupTitle": "Sugarcrm_Accounts"
26114 "url": "/api/integrations/sugarcrm/accounts/{id}/configurations",
26115 "title": "Creates new configuration",
26118 "title": "Example usage:",
26119 "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",
26123 "name": "addConfiguration",
26124 "group": "Sugarcrm_Accounts",
26125 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26126 "version": "0.0.0",
26127 "filename": "server/api/intSugarcrmAccount/index.js",
26128 "groupTitle": "Sugarcrm_Accounts"
26132 "url": "/api/integrations/sugarcrm/accounts/{id}/configurations",
26133 "title": "Gets account configurations",
26136 "title": "Example usage:",
26137 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id}/configurations -v -u {name}:{password} -X GET",
26141 "name": "getConfigurations",
26142 "group": "Sugarcrm_Accounts",
26143 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26144 "version": "0.0.0",
26145 "filename": "server/api/intSugarcrmAccount/index.js",
26146 "groupTitle": "Sugarcrm_Accounts"
26150 "url": "/api/integrations/sugarcrm/accounts/{id}/fields",
26151 "title": "Gets account fields",
26154 "title": "Example usage:",
26155 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id}/fields -v -u {name}:{password} -X GET",
26159 "name": "getFields",
26160 "group": "Sugarcrm_Accounts",
26161 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26162 "version": "0.0.0",
26163 "filename": "server/api/intSugarcrmAccount/index.js",
26164 "groupTitle": "Sugarcrm_Accounts"
26168 "url": "/api/integrations/sugarcrm/accounts/{id}",
26169 "title": "Update an existing Sugarcrm Account",
26172 "title": "Example usage:",
26173 "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",
26177 "name": "updateSugarcrm_Accounts",
26178 "group": "Sugarcrm_Accounts",
26179 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26180 "version": "0.0.0",
26181 "filename": "server/api/intSugarcrmAccount/index.js",
26182 "groupTitle": "Sugarcrm_Accounts"
26186 "url": "/api/integrations/sugarcrm/configurations/{id}/descriptions",
26187 "title": "Gets configurations descriptions",
26190 "title": "Example usage:",
26191 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
26195 "name": "getDescriptions",
26196 "group": "Sugarcrm_Configurations",
26197 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26198 "version": "0.0.0",
26199 "filename": "server/api/intSugarcrmConfiguration/index.js",
26200 "groupTitle": "Sugarcrm_Configurations"
26204 "url": "/api/integrations/sugarcrm/configurations/{id}/fields",
26205 "title": "Gets configurations fields",
26208 "title": "Example usage:",
26209 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/fields -v -u {name}:{password} -X GET",
26213 "name": "getFields",
26214 "group": "Sugarcrm_Configurations",
26215 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26216 "version": "0.0.0",
26217 "filename": "server/api/intSugarcrmConfiguration/index.js",
26218 "groupTitle": "Sugarcrm_Configurations"
26222 "url": "/api/integrations/sugarcrm/configurations/{id}/subjects",
26223 "title": "Gets configurations subjects",
26226 "title": "Example usage:",
26227 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/subjects -v -u {name}:{password} -X GET",
26231 "name": "getSubjects",
26232 "group": "Sugarcrm_Configurations",
26233 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26234 "version": "0.0.0",
26235 "filename": "server/api/intSugarcrmConfiguration/index.js",
26236 "groupTitle": "Sugarcrm_Configurations"
26240 "url": "/api/integrations/sugarcrm/fields",
26241 "title": "Creates a new Sugarcrm Field",
26244 "title": "Example usage:",
26245 "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",
26249 "name": "CreateSugarcrm_Fields",
26250 "group": "Sugarcrm_Fields",
26260 "\"customVariable\"",
26272 "field": "content",
26288 "\"customVariable\""
26291 "field": "keyType",
26298 "field": "keyContent",
26305 "field": "idField",
26312 "field": "nameField",
26319 "field": "customField",
26326 "field": "variableName",
26332 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26333 "version": "0.0.0",
26334 "filename": "server/api/intSugarcrmField/index.js",
26335 "groupTitle": "Sugarcrm_Fields"
26339 "url": "/api/integrations/sugarcrm/fields/{id}",
26340 "title": "Deletes a Sugarcrm Field",
26343 "title": "Example usage:",
26344 "content": "curl https://{domain}/api/integrations/sugarcrm/fields/{id} -v -u {name}:{password} -X DELETE",
26348 "name": "DeleteSugarcrm_Fields",
26349 "group": "Sugarcrm_Fields",
26350 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26351 "version": "0.0.0",
26352 "filename": "server/api/intSugarcrmField/index.js",
26353 "groupTitle": "Sugarcrm_Fields"
26357 "url": "/api/integrations/sugarcrm/fields",
26358 "title": "Gets a list of Sugarcrm Fields",
26361 "title": "Example usage:",
26362 "content": "curl https://{domain}/api/integrations/sugarcrm/fields -v -u {name}:{password}",
26366 "name": "GetSugarcrm_Fields",
26367 "group": "Sugarcrm_Fields",
26368 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
26369 "version": "0.0.0",
26370 "filename": "server/api/intSugarcrmField/index.js",
26371 "groupTitle": "Sugarcrm_Fields"
26375 "url": "/api/integrations/sugarcrm/fields/{id}",
26376 "title": "Gets a single Sugarcrm Field",
26379 "title": "Example usage:",
26380 "content": "curl https://{domain}/api/integrations/sugarcrm/fields/{id} -v -u {name}:{password}",
26384 "name": "ShowSugarcrm_Fields",
26385 "group": "Sugarcrm_Fields",
26386 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26387 "version": "0.0.0",
26388 "filename": "server/api/intSugarcrmField/index.js",
26389 "groupTitle": "Sugarcrm_Fields"
26393 "url": "/api/integrations/sugarcrm/fields/{id}",
26394 "title": "Update an existing Sugarcrm Field",
26397 "title": "Example usage:",
26398 "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",
26402 "name": "updateSugarcrm_Fields",
26403 "group": "Sugarcrm_Fields",
26404 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26405 "version": "0.0.0",
26406 "filename": "server/api/intSugarcrmField/index.js",
26407 "groupTitle": "Sugarcrm_Fields"
26411 "url": "/api/system",
26412 "title": "Gets system information",
26415 "title": "Example usage:",
26416 "content": "curl https://{domain}/api/system -v -u {name}:{password}",
26420 "name": "GetSystemInformation",
26421 "group": "System_Information",
26422 "description": "<p>Motion returns the system information.</p>",
26423 "version": "0.0.0",
26424 "filename": "server/api/system/index.js",
26425 "groupTitle": "System_Information"
26429 "url": "/api/system/process",
26430 "title": "Gets system information",
26433 "title": "Example usage:",
26434 "content": "curl https://{domain}/api/system -v -u {name}:{password}",
26438 "name": "GetSystemInformation",
26439 "group": "System_Information",
26440 "description": "<p>Motion returns the system information.</p>",
26441 "version": "0.0.0",
26442 "filename": "server/api/system/index.js",
26443 "groupTitle": "System_Information"
26447 "url": "/api/tags",
26448 "title": "Creates a new Tag",
26451 "title": "Example usage:",
26452 "content": "curl https://{domain}/api/tags -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26456 "name": "CreateTags",
26479 "field": "description",
26485 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26486 "version": "0.0.0",
26487 "filename": "server/api/tag/index.js",
26488 "groupTitle": "Tags"
26492 "url": "/api/tags/{id}",
26493 "title": "Deletes a Tag",
26496 "title": "Example usage:",
26497 "content": "curl https://{domain}/api/tags/{id} -v -u {name}:{password} -X DELETE",
26501 "name": "DeleteTags",
26503 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26504 "version": "0.0.0",
26505 "filename": "server/api/tag/index.js",
26506 "groupTitle": "Tags"
26510 "url": "/api/tags",
26511 "title": "Gets a list of Tags",
26514 "title": "Example usage:",
26515 "content": "curl https://{domain}/api/tags -v -u {name}:{password}",
26521 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
26522 "version": "0.0.0",
26523 "filename": "server/api/tag/index.js",
26524 "groupTitle": "Tags"
26528 "url": "/api/tags/{id}",
26529 "title": "Gets a single Tag",
26532 "title": "Example usage:",
26533 "content": "curl https://{domain}/api/tags/{id} -v -u {name}:{password}",
26537 "name": "ShowTags",
26539 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26540 "version": "0.0.0",
26541 "filename": "server/api/tag/index.js",
26542 "groupTitle": "Tags"
26546 "url": "/api/tags/{id}",
26547 "title": "Update an existing Tag",
26550 "title": "Example usage:",
26551 "content": "curl https://{domain}/api/tags/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26555 "name": "updateTags",
26557 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26558 "version": "0.0.0",
26559 "filename": "server/api/tag/index.js",
26560 "groupTitle": "Tags"
26564 "url": "/api/teams/{id}/queues",
26565 "title": "Add queues to a team",
26568 "title": "Example usage:",
26569 "content": "curl https://{domain}/api/teams/{id}/queues -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
26573 "name": "AddQueues",
26575 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26576 "version": "0.0.0",
26577 "filename": "server/api/team/index.js",
26578 "groupTitle": "Teams"
26582 "url": "/api/teams",
26583 "title": "Creates a new Team",
26586 "title": "Example usage:",
26587 "content": "curl https://{domain}/api/teams -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26591 "name": "CreateTeams",
26607 "field": "description",
26613 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26614 "version": "0.0.0",
26615 "filename": "server/api/team/index.js",
26616 "groupTitle": "Teams"
26620 "url": "/api/teams/{id}",
26621 "title": "Deletes a Team",
26624 "title": "Example usage:",
26625 "content": "curl https://{domain}/api/teams/{id} -v -u {name}:{password} -X DELETE",
26629 "name": "DeleteTeams",
26631 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26632 "version": "0.0.0",
26633 "filename": "server/api/team/index.js",
26634 "groupTitle": "Teams"
26638 "url": "/api/teams/{id}/users",
26639 "title": "Gets agents from team",
26642 "title": "Example usage:",
26643 "content": "curl https://{domain}/api/teams/{id}/users -v -u {name}:{password} -X GET",
26647 "name": "GetAgents",
26649 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26650 "version": "0.0.0",
26651 "filename": "server/api/team/index.js",
26652 "groupTitle": "Teams"
26656 "url": "/api/teams/{id}/queues?channel={channel}",
26657 "title": "Gets Queues list",
26660 "title": "Example usage:",
26661 "content": "curl https://{domain}/api/teams/{id}/queues?channel={channel} -v -u {name}:{password}",
26665 "name": "GetQueues",
26667 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26668 "version": "0.0.0",
26669 "filename": "server/api/team/index.js",
26670 "groupTitle": "Teams"
26674 "url": "/api/teams",
26675 "title": "Gets a list of Teams",
26678 "title": "Example usage:",
26679 "content": "curl https://{domain}/api/teams -v -u {name}:{password}",
26683 "name": "GetTeams",
26685 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
26686 "version": "0.0.0",
26687 "filename": "server/api/team/index.js",
26688 "groupTitle": "Teams"
26692 "url": "/api/teams/{id}/users",
26693 "title": "Removes agents from a team",
26696 "title": "Example usage:",
26697 "content": "curl https://{domain}/api/teams/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
26701 "name": "RemoveAgents",
26703 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26704 "version": "0.0.0",
26705 "filename": "server/api/team/index.js",
26706 "groupTitle": "Teams"
26710 "url": "/api/teams/{id}/queues",
26711 "title": "Remove queues to a team",
26714 "title": "Example usage:",
26715 "content": "curl https://{domain}/api/teams/{id}/queues?channel=voice&ids=1&ids=2 -v -u {name}:{password} -X DELETE",
26719 "name": "RemoveQueues",
26721 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26722 "version": "0.0.0",
26723 "filename": "server/api/team/index.js",
26724 "groupTitle": "Teams"
26728 "url": "/api/fax/queues/{id}/teams",
26729 "title": "Remove teams from a queue",
26732 "title": "Example usage:",
26733 "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26737 "name": "RemoveTeams",
26739 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26740 "version": "0.0.0",
26741 "filename": "server/api/faxQueue/index.js",
26742 "groupTitle": "Teams"
26746 "url": "/api/whatsapp/queues/{id}/teams",
26747 "title": "Remove teams from a queue",
26750 "title": "Example usage:",
26751 "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26755 "name": "RemoveTeams",
26757 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26758 "version": "0.0.0",
26759 "filename": "server/api/whatsappQueue/index.js",
26760 "groupTitle": "Teams"
26764 "url": "/api/openchannel/queues/{id}/teams",
26765 "title": "Remove teams from a queue",
26768 "title": "Example usage:",
26769 "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26773 "name": "RemoveTeams",
26775 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26776 "version": "0.0.0",
26777 "filename": "server/api/openchannelQueue/index.js",
26778 "groupTitle": "Teams"
26782 "url": "/api/sms/queues/{id}/teams",
26783 "title": "Remove teams from a queue",
26786 "title": "Example usage:",
26787 "content": "curl https://{domain}/api/sms/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26791 "name": "RemoveTeams",
26793 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26794 "version": "0.0.0",
26795 "filename": "server/api/smsQueue/index.js",
26796 "groupTitle": "Teams"
26800 "url": "/api/voice/queues/{id}/teams",
26801 "title": "Remove teams from a queue",
26804 "title": "Example usage:",
26805 "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26809 "name": "RemoveTeams",
26811 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26812 "version": "0.0.0",
26813 "filename": "server/api/voiceQueue/index.js",
26814 "groupTitle": "Teams"
26818 "url": "/api/chat/queues/{id}/teams",
26819 "title": "Remove teams from a queue",
26822 "title": "Example usage:",
26823 "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26827 "name": "RemoveTeams",
26829 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26830 "version": "0.0.0",
26831 "filename": "server/api/chatQueue/index.js",
26832 "groupTitle": "Teams"
26836 "url": "/api/mail/queues/{id}/teams",
26837 "title": "Remove teams from a queue",
26840 "title": "Example usage:",
26841 "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26845 "name": "RemoveTeams",
26847 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26848 "version": "0.0.0",
26849 "filename": "server/api/mailQueue/index.js",
26850 "groupTitle": "Teams"
26854 "url": "/api/teams/{id}",
26855 "title": "Gets a single Team",
26858 "title": "Example usage:",
26859 "content": "curl https://{domain}/api/teams/{id} -v -u {name}:{password}",
26863 "name": "ShowTeams",
26865 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26866 "version": "0.0.0",
26867 "filename": "server/api/team/index.js",
26868 "groupTitle": "Teams"
26872 "url": "/api/teams/{id}/users",
26873 "title": "Adds agents to a team",
26876 "title": "Example usage:",
26877 "content": "curl https://{domain}/api/teams/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
26881 "name": "addAgents",
26883 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26884 "version": "0.0.0",
26885 "filename": "server/api/team/index.js",
26886 "groupTitle": "Teams"
26890 "url": "/api/teams/{id}",
26891 "title": "Update an existing Team",
26894 "title": "Example usage:",
26895 "content": "curl https://{domain}/api/teams/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26899 "name": "updateTeams",
26901 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26902 "version": "0.0.0",
26903 "filename": "server/api/team/index.js",
26904 "groupTitle": "Teams"
26908 "url": "/api/templates",
26909 "title": "Creates a new Template",
26912 "title": "Example usage:",
26913 "content": "curl https://{domain}/api/templates -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26917 "name": "CreateTemplates",
26918 "group": "Templates",
26933 "field": "description",
26946 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26947 "version": "0.0.0",
26948 "filename": "server/api/template/index.js",
26949 "groupTitle": "Templates"
26953 "url": "/api/templates/{id}",
26954 "title": "Deletes a Template",
26957 "title": "Example usage:",
26958 "content": "curl https://{domain}/api/templates/{id} -v -u {name}:{password} -X DELETE",
26962 "name": "DeleteTemplates",
26963 "group": "Templates",
26964 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26965 "version": "0.0.0",
26966 "filename": "server/api/template/index.js",
26967 "groupTitle": "Templates"
26971 "url": "/api/templates",
26972 "title": "Gets a list of Templates",
26975 "title": "Example usage:",
26976 "content": "curl https://{domain}/api/templates -v -u {name}:{password}",
26980 "name": "GetTemplates",
26981 "group": "Templates",
26982 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
26983 "version": "0.0.0",
26984 "filename": "server/api/template/index.js",
26985 "groupTitle": "Templates"
26989 "url": "/api/templates/{id}",
26990 "title": "Gets a single Template",
26993 "title": "Example usage:",
26994 "content": "curl https://{domain}/api/templates/{id} -v -u {name}:{password}",
26998 "name": "ShowTemplates",
26999 "group": "Templates",
27000 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27001 "version": "0.0.0",
27002 "filename": "server/api/template/index.js",
27003 "groupTitle": "Templates"
27007 "url": "/api/templates/{id}",
27008 "title": "Update an existing Template",
27011 "title": "Example usage:",
27012 "content": "curl https://{domain}/api/templates/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
27016 "name": "updateTemplates",
27017 "group": "Templates",
27018 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27019 "version": "0.0.0",
27020 "filename": "server/api/template/index.js",
27021 "groupTitle": "Templates"
27025 "url": "/api/triggers",
27026 "title": "Creates a new Trigger",
27029 "title": "Example usage:",
27030 "content": "curl https://{domain}/api/triggers -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27034 "name": "CreateTriggers",
27035 "group": "Triggers",
27050 "field": "channel",
27057 "field": "description",
27070 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27071 "version": "0.0.0",
27072 "filename": "server/api/trigger/index.js",
27073 "groupTitle": "Triggers"
27077 "url": "/api/triggers/{id}",
27078 "title": "Deletes a Trigger",
27081 "title": "Example usage:",
27082 "content": "curl https://{domain}/api/triggers/{id} -v -u {name}:{password} -X DELETE",
27086 "name": "DeleteTriggers",
27087 "group": "Triggers",
27088 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27089 "version": "0.0.0",
27090 "filename": "server/api/trigger/index.js",
27091 "groupTitle": "Triggers"
27095 "url": "/api/triggers",
27096 "title": "Gets a list of Triggers",
27099 "title": "Example usage:",
27100 "content": "curl https://{domain}/api/triggers -v -u {name}:{password}",
27104 "name": "GetTriggers",
27105 "group": "Triggers",
27106 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
27107 "version": "0.0.0",
27108 "filename": "server/api/trigger/index.js",
27109 "groupTitle": "Triggers"
27113 "url": "/api/triggers/{id}",
27114 "title": "Gets a single Trigger",
27117 "title": "Example usage:",
27118 "content": "curl https://{domain}/api/triggers/{id} -v -u {name}:{password}",
27122 "name": "ShowTriggers",
27123 "group": "Triggers",
27124 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27125 "version": "0.0.0",
27126 "filename": "server/api/trigger/index.js",
27127 "groupTitle": "Triggers"
27131 "url": "/api/triggers/{id}/actions",
27132 "title": "Creates new actions",
27135 "title": "Example usage:",
27136 "content": "curl https://{domain}/api/triggers/{id}/actions -d '{\"action\": \"contactManager\",\"data1\": \"1\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
27140 "name": "addAction",
27141 "group": "Triggers",
27157 "description": "<p>Allowed values: contactManager, integration, motionbar, jscripty, urlForward, browser, bot, script</p>"
27164 "description": "<p>contactManager[ListId], integration[intName(zendesk)], motionbar[Popup(0),URL(1),WinApp(2)], urlForward[GET,POST], browser[TemplateId(0),URL(1)]</p>"
27171 "description": "<p>integration[AccountId], motionbar[TemplateId,URL,WinAppPath], urlForward[URL]</p>"
27178 "description": "<p>motionbar[NULL,NULL,WinAppArguments]</p>"
27211 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27212 "version": "0.0.0",
27213 "filename": "server/api/trigger/index.js",
27214 "groupTitle": "Triggers"
27218 "url": "/api/triggers/{id}/all_conditions",
27219 "title": "Creates a new \"AND\"condition",
27222 "title": "Example usage:",
27223 "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",
27227 "name": "addAllCondition",
27228 "group": "Triggers",
27250 "field": "operator",
27263 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27264 "version": "0.0.0",
27265 "filename": "server/api/trigger/index.js",
27266 "groupTitle": "Triggers"
27270 "url": "/api/triggers/{id}/any_conditions",
27271 "title": "Creates a new \"OR\"condition",
27274 "title": "Example usage:",
27275 "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",
27279 "name": "addAnyCondition",
27280 "group": "Triggers",
27302 "field": "operator",
27315 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27316 "version": "0.0.0",
27317 "filename": "server/api/trigger/index.js",
27318 "groupTitle": "Triggers"
27322 "url": "/api/triggers/{id}/actions",
27323 "title": "Gets Trigger Actions",
27326 "title": "Example usage:",
27327 "content": "curl https://{domain}/api/triggers/{id}/actions -v -u {name}:{password} -X GET",
27331 "name": "getActions",
27332 "group": "Triggers",
27333 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27334 "version": "0.0.0",
27335 "filename": "server/api/trigger/index.js",
27336 "groupTitle": "Triggers"
27340 "url": "/api/triggers/{id}/all_conditions",
27341 "title": "Gets \"AND\" Trigger Conditions",
27344 "title": "Example usage:",
27345 "content": "curl https://{domain}/api/triggers/{id}/all_conditions -v -u {name}:{password} -X GET",
27349 "name": "getAllConditions",
27350 "group": "Triggers",
27351 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27352 "version": "0.0.0",
27353 "filename": "server/api/trigger/index.js",
27354 "groupTitle": "Triggers"
27358 "url": "/api/triggers/{id}/any_conditions",
27359 "title": "Gets \"OR\" Trigger Conditions",
27362 "title": "Example usage:",
27363 "content": "curl https://{domain}/api/triggers/{id}/any_conditions -v -u {name}:{password} -X GET",
27367 "name": "getAnyConditions",
27368 "group": "Triggers",
27369 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27370 "version": "0.0.0",
27371 "filename": "server/api/trigger/index.js",
27372 "groupTitle": "Triggers"
27376 "url": "/api/triggers/{id}",
27377 "title": "Update an existing Trigger",
27380 "title": "Example usage:",
27381 "content": "curl https://{domain}/api/triggers/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
27385 "name": "updateTriggers",
27386 "group": "Triggers",
27387 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27388 "version": "0.0.0",
27389 "filename": "server/api/trigger/index.js",
27390 "groupTitle": "Triggers"
27394 "url": "/api/trunks/clone",
27395 "title": "Clone an existing Trunk",
27398 "title": "Example usage:",
27399 "content": "curl https://{domain}/api/trunks/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27403 "name": "CloneTrunks",
27405 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27406 "version": "0.0.0",
27407 "filename": "server/api/trunk/index.js",
27408 "groupTitle": "Trunks"
27412 "url": "/api/trunks",
27413 "title": "Create a new trunk",
27416 "title": "Example usage:",
27417 "content": "curl https://{domain}/api/trunks -v -u {name}:{password} -X POST",
27449 "field": "context",
27456 "\"ALLOWED_NOT_SCREENED\"",
27457 "\"ALLOWED_PASSED_SCREEN\"",
27458 "\"ALLOWED_FAILED_SCREEN\"",
27460 "\"PROHIB_NOT_SCREENED\"",
27461 "\"PROHIB_PASSED_SCREEN\"",
27462 "\"PROHIB_FAILED_SCREEN\"",
27466 "field": "callingpres",
27494 "field": "md5secret",
27501 "field": "remotesecret",
27508 "field": "transport",
27509 "description": "<p>String is deprecated. Please use an Array as ["udp", "tcp"]</p>"
27522 "field": "dtmfmode",
27536 "field": "directmedia",
27547 "field": "directrtpsetup",
27554 "field": "directmediapermit",
27561 "field": "directmediadeny",
27569 "description": "<p>String is deprecated. Please use an Array as ["force_rport", "comedia"]</p>"
27575 "field": "callgroup",
27582 "field": "namedcallgroup",
27589 "field": "pickupgroup",
27596 "field": "namedpickupgroup",
27603 "field": "language",
27610 "field": "tonezone",
27617 "field": "disallow",
27625 "description": "<p>String is deprecated. Please use an Array as ["ulaw", "alaw", "alaw"]</p>"
27635 "field": "autoframing",
27642 "field": "insecure",
27643 "description": "<p>String is deprecated. Please use an Array as ["port", "invite"]</p>"
27653 "field": "trustrpid",
27664 "field": "trust_id_outbound",
27676 "field": "progressinband",
27687 "field": "promiscredir",
27698 "field": "useclientcode",
27705 "field": "accountcode",
27719 "field": "callerid",
27726 "field": "amaflags",
27737 "field": "callcounter",
27744 "field": "busylevel",
27755 "field": "allowoverlap",
27766 "field": "allowsubscribe",
27777 "field": "allowtransfer",
27788 "field": "ignoresdpversion",
27795 "field": "subscribecontext",
27802 "field": "template",
27814 "field": "videosupport",
27821 "field": "maxcallbitrate",
27832 "field": "rfc2833compensate",
27839 "field": "mailbox",
27851 "field": "session_timers",
27858 "field": "session_expires",
27865 "field": "session_minse",
27876 "field": "session_refresher",
27883 "field": "t38pt_usertpsource",
27890 "field": "regexten",
27897 "field": "fromdomain",
27904 "field": "fromuser",
27922 "field": "qualify",
27929 "field": "keepalive",
27936 "field": "defaultip",
27943 "field": "defaultuser",
27950 "field": "rtptimeout",
27957 "field": "rtpholdtimeout",
27964 "field": "rtpkeepalive",
27976 "field": "sendrpid",
27983 "field": "outboundproxy",
27990 "field": "callbackextension",
27997 "field": "timert1",
28011 "field": "qualifyfreq",
28018 "field": "contactpermit",
28025 "field": "contactdeny",
28032 "field": "contactacl",
28039 "field": "unsolicited_mailbox",
28046 "field": "use_q850_reason",
28053 "field": "maxforwards",
28064 "field": "encryption",
28086 "field": "force_avp",
28097 "field": "icesupport",
28108 "field": "dtlsenable",
28121 "field": "dtlsverify",
28128 "field": "dtlsrekey",
28135 "field": "dtlscertfile",
28142 "field": "dtlsprivatekey",
28149 "field": "dtlscipher",
28156 "field": "dtlscafile",
28163 "field": "dtlscapath",
28175 "field": "dtlssetup",
28182 "field": "dtlsfingerprint",
28193 "field": "usereqphone",
28200 "field": "recordonfeature",
28207 "field": "recordofffeature",
28214 "field": "call_limit",
28225 "field": "registertrying",
28236 "field": "subscribemwi",
28243 "field": "vmexten",
28250 "field": "mohinterpret",
28257 "field": "mohsuggest",
28264 "field": "parkinglot",
28271 "field": "description",
28292 "field": "canreinvite",
28299 "field": "registry",
28306 "field": "otherFields",
28320 "field": "t38pt_udptl",
28326 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28327 "version": "0.0.0",
28328 "filename": "server/api/trunk/index.js",
28329 "groupTitle": "Trunks"
28333 "url": "/api/trunks/{id}",
28334 "title": "Deletes a trunk",
28337 "title": "Example usage:",
28338 "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password} -X DELETE",
28344 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28345 "version": "0.0.0",
28346 "filename": "server/api/trunk/index.js",
28347 "groupTitle": "Trunks"
28351 "url": "/api/trunks",
28352 "title": "Gets a list of Trunks",
28355 "title": "Example usage:",
28356 "content": "curl https://{domain}/api/trunks -v -u {name}:{password}",
28360 "name": "GetTrunks",
28362 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
28363 "version": "0.0.0",
28364 "filename": "server/api/trunk/index.js",
28365 "groupTitle": "Trunks"
28369 "url": "/api/trunks/{id}",
28370 "title": "Gets a single Trunk",
28373 "title": "Example usage:",
28374 "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password}",
28378 "name": "ShowTrunks",
28380 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28381 "version": "0.0.0",
28382 "filename": "server/api/trunk/index.js",
28383 "groupTitle": "Trunks"
28387 "url": "/api/trunks/{id}",
28388 "title": "Update an existing trunk",
28391 "title": "Example usage:",
28392 "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password} -X PUT",
28398 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28399 "version": "0.0.0",
28400 "filename": "server/api/trunk/index.js",
28401 "groupTitle": "Trunks"
28405 "url": "/api/userNotifications",
28406 "title": "Send notification to user",
28409 "title": "Example usage:",
28410 "content": "curl https://{domain}/api/userNotifications -d '{\"text\": \"Hello!\", \"TemplateId\": 1}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28415 "group": "UserNotifications",
28416 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28417 "version": "0.0.0",
28418 "filename": "server/api/userNotification/index.js",
28419 "groupTitle": "UserNotifications"
28423 "url": "/api/userProfile/resources",
28424 "title": "Creates a new User Profile Resource",
28427 "title": "Example usage:",
28428 "content": "curl https://{domain}/api/userProfile/resources -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28432 "name": "CreateUser_Profile_Resources",
28433 "group": "User_Profile_Resources",
28448 "field": "resourceId",
28461 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28462 "version": "0.0.0",
28463 "filename": "server/api/userProfileResource/index.js",
28464 "groupTitle": "User_Profile_Resources"
28468 "url": "/api/userProfile/resources/{id}",
28469 "title": "Deletes a User Profile Resource",
28472 "title": "Example usage:",
28473 "content": "curl https://{domain}/api/userProfile/resources/{id} -v -u {name}:{password} -X DELETE",
28477 "name": "DeleteUser_Profile_Resources",
28478 "group": "User_Profile_Resources",
28479 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28480 "version": "0.0.0",
28481 "filename": "server/api/userProfileResource/index.js",
28482 "groupTitle": "User_Profile_Resources"
28486 "url": "/api/userProfile/resources/describe",
28487 "title": "Gets table info about User Profile Resources",
28490 "title": "Example usage:",
28491 "content": "curl https://{domain}/api/userProfile/resources/describe -v -u {name}:{password}",
28495 "name": "DescribeUser_Profile_Resources",
28496 "group": "User_Profile_Resources",
28497 "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>",
28498 "version": "0.0.0",
28499 "filename": "server/api/userProfileResource/index.js",
28500 "groupTitle": "User_Profile_Resources"
28504 "url": "/api/userProfile/resources",
28505 "title": "Gets a list of User Profile Resources",
28508 "title": "Example usage:",
28509 "content": "curl https://{domain}/api/userProfile/resources -v -u {name}:{password}",
28513 "name": "GetUser_Profile_Resources",
28514 "group": "User_Profile_Resources",
28515 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
28516 "version": "0.0.0",
28517 "filename": "server/api/userProfileResource/index.js",
28518 "groupTitle": "User_Profile_Resources"
28522 "url": "/api/userProfile/resources/{id}",
28523 "title": "Gets a single User Profile Resource",
28526 "title": "Example usage:",
28527 "content": "curl https://{domain}/api/userProfile/resources/{id} -v -u {name}:{password}",
28531 "name": "ShowUser_Profile_Resources",
28532 "group": "User_Profile_Resources",
28533 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28534 "version": "0.0.0",
28535 "filename": "server/api/userProfileResource/index.js",
28536 "groupTitle": "User_Profile_Resources"
28540 "url": "/api/userProfile/resources/{id}",
28541 "title": "Update an existing User Profile Resource",
28544 "title": "Example usage:",
28545 "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",
28549 "name": "updateUser_Profile_Resources",
28550 "group": "User_Profile_Resources",
28551 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28552 "version": "0.0.0",
28553 "filename": "server/api/userProfileResource/index.js",
28554 "groupTitle": "User_Profile_Resources"
28558 "url": "/api/userProfile/sections",
28559 "title": "Creates a new User Profile Section",
28562 "title": "Example usage:",
28563 "content": "curl https://{domain}/api/userProfile/sections -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28567 "name": "CreateUser_Profile_Sections",
28568 "group": "User_Profile_Sections",
28583 "field": "category",
28590 "field": "sectionId",
28597 "field": "enabled",
28604 "field": "autoAssociation",
28611 "field": "crudPermissions",
28617 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28618 "version": "0.0.0",
28619 "filename": "server/api/userProfileSection/index.js",
28620 "groupTitle": "User_Profile_Sections"
28624 "url": "/api/userProfile/sections/{id}",
28625 "title": "Deletes a User Profile Section",
28628 "title": "Example usage:",
28629 "content": "curl https://{domain}/api/userProfile/sections/{id} -v -u {name}:{password} -X DELETE",
28633 "name": "DeleteUser_Profile_Sections",
28634 "group": "User_Profile_Sections",
28635 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28636 "version": "0.0.0",
28637 "filename": "server/api/userProfileSection/index.js",
28638 "groupTitle": "User_Profile_Sections"
28642 "url": "/api/userProfile/sections/describe",
28643 "title": "Gets table info about User Profile Sections",
28646 "title": "Example usage:",
28647 "content": "curl https://{domain}/api/userProfile/sections/describe -v -u {name}:{password}",
28651 "name": "DescribeUser_Profile_Sections",
28652 "group": "User_Profile_Sections",
28653 "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>",
28654 "version": "0.0.0",
28655 "filename": "server/api/userProfileSection/index.js",
28656 "groupTitle": "User_Profile_Sections"
28660 "url": "/api/userProfile/sections",
28661 "title": "Gets a list of User Profile Sections",
28664 "title": "Example usage:",
28665 "content": "curl https://{domain}/api/userProfile/sections -v -u {name}:{password}",
28669 "name": "GetUser_Profile_Sections",
28670 "group": "User_Profile_Sections",
28671 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
28672 "version": "0.0.0",
28673 "filename": "server/api/userProfileSection/index.js",
28674 "groupTitle": "User_Profile_Sections"
28678 "url": "/api/userProfile/sections/{id}",
28679 "title": "Gets a single User Profile Section",
28682 "title": "Example usage:",
28683 "content": "curl https://{domain}/api/userProfile/sections/{id} -v -u {name}:{password}",
28687 "name": "ShowUser_Profile_Sections",
28688 "group": "User_Profile_Sections",
28689 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28690 "version": "0.0.0",
28691 "filename": "server/api/userProfileSection/index.js",
28692 "groupTitle": "User_Profile_Sections"
28696 "url": "/api/userProfile/sections/{id}",
28697 "title": "Update an existing User Profile Section",
28700 "title": "Example usage:",
28701 "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",
28705 "name": "updateUser_Profile_Sections",
28706 "group": "User_Profile_Sections",
28707 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28708 "version": "0.0.0",
28709 "filename": "server/api/userProfileSection/index.js",
28710 "groupTitle": "User_Profile_Sections"
28714 "url": "/api/userProfiles/{id}/resources",
28715 "title": "Add resources' permissions to User Profile",
28718 "title": "Example usage:",
28719 "content": "curl https://{domain}/api/userProfiles/{id}/resources -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28723 "name": "AddResources",
28724 "group": "User_Profiles",
28725 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28726 "version": "0.0.0",
28727 "filename": "server/api/userProfile/index.js",
28728 "groupTitle": "User_Profiles"
28732 "url": "/api/userProfiles/{id}/sections",
28733 "title": "Add sections' permissions to User Profile",
28736 "title": "Example usage:",
28737 "content": "curl https://{domain}/api/userProfiles/{id}/sections -d '[{\"sectionId\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28741 "name": "AddSections",
28742 "group": "User_Profiles",
28743 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28744 "version": "0.0.0",
28745 "filename": "server/api/userProfile/index.js",
28746 "groupTitle": "User_Profiles"
28750 "url": "/api/userProfiles/clone",
28751 "title": "Clone an existing User Profile",
28754 "title": "Example usage:",
28755 "content": "curl https://{domain}/api/userProfiles/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28759 "name": "CloneUser_Profiles",
28760 "group": "User_Profiles",
28761 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28762 "version": "0.0.0",
28763 "filename": "server/api/userProfile/index.js",
28764 "groupTitle": "User_Profiles"
28768 "url": "/api/userProfiles",
28769 "title": "Creates a new User Profile",
28772 "title": "Example usage:",
28773 "content": "curl https://{domain}/api/userProfiles -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28777 "name": "CreateUser_Profiles",
28778 "group": "User_Profiles",
28793 "field": "crudPermissions",
28800 "field": "description",
28807 "field": "privacyEnabled",
28814 "field": "downloadAttachments",
28821 "field": "downloadCallySquareRecordings",
28828 "field": "downloadContactManagerLists",
28835 "field": "downloadJscriptySessions",
28842 "field": "downloadOmnichannelInteractions",
28849 "field": "downloadScreenRecordings",
28856 "field": "downloadVoiceRecordings",
28862 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28863 "version": "0.0.0",
28864 "filename": "server/api/userProfile/index.js",
28865 "groupTitle": "User_Profiles"
28869 "url": "/api/userProfiles/{id}",
28870 "title": "Deletes a User Profile",
28873 "title": "Example usage:",
28874 "content": "curl https://{domain}/api/userProfiles/{id} -v -u {name}:{password} -X DELETE",
28878 "name": "DeleteUser_Profiles",
28879 "group": "User_Profiles",
28880 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28881 "version": "0.0.0",
28882 "filename": "server/api/userProfile/index.js",
28883 "groupTitle": "User_Profiles"
28887 "url": "/api/userProfiles/describe",
28888 "title": "Gets table info about User Profiles",
28891 "title": "Example usage:",
28892 "content": "curl https://{domain}/api/userProfiles/describe -v -u {name}:{password}",
28896 "name": "DescribeUser_Profiles",
28897 "group": "User_Profiles",
28898 "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>",
28899 "version": "0.0.0",
28900 "filename": "server/api/userProfile/index.js",
28901 "groupTitle": "User_Profiles"
28905 "url": "/api/userProfiles/{id}/resources?section={section}",
28906 "title": "Get Resources assigned to a Section",
28909 "title": "Example usage:",
28910 "content": "curl https://{domain}/api/userProfiles/{id}/resources?section={section} -v -u {name}:{password} -X GET",
28914 "name": "GetResources",
28915 "group": "User_Profiles",
28916 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28917 "version": "0.0.0",
28918 "filename": "server/api/userProfile/index.js",
28919 "groupTitle": "User_Profiles"
28923 "url": "/api/userProfiles/{id}/sections",
28924 "title": "Get sections associated to a User Profile",
28927 "title": "Example usage:",
28928 "content": "curl https://{domain}/api/userProfiles/{id}/sections -v -u {name}:{password} -X GET",
28932 "name": "GetSections",
28933 "group": "User_Profiles",
28934 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28935 "version": "0.0.0",
28936 "filename": "server/api/userProfile/index.js",
28937 "groupTitle": "User_Profiles"
28941 "url": "/api/userProfiles",
28942 "title": "Gets a list of User Profiles",
28945 "title": "Example usage:",
28946 "content": "curl https://{domain}/api/userProfiles -v -u {name}:{password}",
28950 "name": "GetUser_Profiles",
28951 "group": "User_Profiles",
28952 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
28953 "version": "0.0.0",
28954 "filename": "server/api/userProfile/index.js",
28955 "groupTitle": "User_Profiles"
28959 "url": "/api/userProfiles/{id}/resources",
28960 "title": "Removes resources' permissions from User Profile",
28963 "title": "Example usage:",
28964 "content": "curl https://{domain}/api/userProfiles/{id}/resources?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
28968 "name": "RemoveResources",
28969 "group": "User_Profiles",
28970 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28971 "version": "0.0.0",
28972 "filename": "server/api/userProfile/index.js",
28973 "groupTitle": "User_Profiles"
28977 "url": "/api/userProfiles/{id}/sections",
28978 "title": "Removes sections' permissions from User Profile",
28981 "title": "Example usage:",
28982 "content": "curl https://{domain}/api/userProfiles/{id}/sections?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
28986 "name": "RemoveSections",
28987 "group": "User_Profiles",
28988 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28989 "version": "0.0.0",
28990 "filename": "server/api/userProfile/index.js",
28991 "groupTitle": "User_Profiles"
28995 "url": "/api/userProfiles/{id}",
28996 "title": "Gets a single User Profile",
28999 "title": "Example usage:",
29000 "content": "curl https://{domain}/api/userProfiles/{id} -v -u {name}:{password}",
29004 "name": "ShowUser_Profiles",
29005 "group": "User_Profiles",
29006 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29007 "version": "0.0.0",
29008 "filename": "server/api/userProfile/index.js",
29009 "groupTitle": "User_Profiles"
29013 "url": "/api/userProfiles/{id}",
29014 "title": "Update an existing User Profile",
29017 "title": "Example usage:",
29018 "content": "curl https://{domain}/api/userProfiles/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
29022 "name": "updateUser_Profiles",
29023 "group": "User_Profiles",
29024 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29025 "version": "0.0.0",
29026 "filename": "server/api/userProfile/index.js",
29027 "groupTitle": "User_Profiles"
29031 "url": "/api/users/{id}/chat_interactions",
29032 "title": "Add chat interaction tabs to an agent",
29035 "title": "Example usage:",
29036 "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",
29040 "name": "AddChatInteractions",
29042 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29043 "version": "0.0.0",
29044 "filename": "server/api/user/index.js",
29045 "groupTitle": "Users"
29049 "url": "/api/users/{id}/chat_websites",
29050 "title": "Add a Chat Website to a user",
29053 "title": "Example usage:",
29054 "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",
29058 "name": "AddChatWebsites",
29060 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29061 "version": "0.0.0",
29062 "filename": "server/api/user/index.js",
29063 "groupTitle": "Users"
29067 "url": "/api/users/{id}/contacts",
29068 "title": "Add contacts to a user",
29071 "title": "Example usage:",
29072 "content": "curl https://{domain}/api/users/{id}/contacts -d '{\"ids\": [1,2]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29076 "name": "AddContacts",
29078 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29079 "version": "0.0.0",
29080 "filename": "server/api/user/index.js",
29081 "groupTitle": "Users"
29085 "url": "/api/users/{id}/fax_accounts",
29086 "title": "Add a Fax Account to a user",
29089 "title": "Example usage:",
29090 "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",
29094 "name": "AddFaxAccounts",
29096 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29097 "version": "0.0.0",
29098 "filename": "server/api/user/index.js",
29099 "groupTitle": "Users"
29103 "url": "/api/users/{id}/fax_interactions",
29104 "title": "Add fax interaction tabs to an agent",
29107 "title": "Example usage:",
29108 "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",
29112 "name": "AddFaxInteractions",
29114 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29115 "version": "0.0.0",
29116 "filename": "server/api/user/index.js",
29117 "groupTitle": "Users"
29121 "url": "/api/users/{id}/mail_accounts",
29122 "title": "Add a Mail Account to a user",
29125 "title": "Example usage:",
29126 "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",
29130 "name": "AddMailAccounts",
29132 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29133 "version": "0.0.0",
29134 "filename": "server/api/user/index.js",
29135 "groupTitle": "Users"
29139 "url": "/api/users/{id}/mail_interactions",
29140 "title": "Add mail interaction tabs to an agent",
29143 "title": "Example usage:",
29144 "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",
29148 "name": "AddMailInteractions",
29150 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29151 "version": "0.0.0",
29152 "filename": "server/api/user/index.js",
29153 "groupTitle": "Users"
29157 "url": "/api/users/{id}/openchannel_accounts",
29158 "title": "Add a Open Channel Account to a user",
29161 "title": "Example usage:",
29162 "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",
29166 "name": "AddOpenchannelAccounts",
29168 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29169 "version": "0.0.0",
29170 "filename": "server/api/user/index.js",
29171 "groupTitle": "Users"
29175 "url": "/api/users/{id}/openchannel_interactions",
29176 "title": "Add openchannel interaction tabs to an agent",
29179 "title": "Example usage:",
29180 "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",
29184 "name": "AddOpenchannelInteractions",
29186 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29187 "version": "0.0.0",
29188 "filename": "server/api/user/index.js",
29189 "groupTitle": "Users"
29193 "url": "/api/users/{id}/queues",
29194 "title": "Add queues to an agent",
29197 "title": "Example usage:",
29198 "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",
29202 "name": "AddQueues",
29204 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29205 "version": "0.0.0",
29206 "filename": "server/api/user/index.js",
29207 "groupTitle": "Users"
29211 "url": "/api/users/{id}/sms_accounts",
29212 "title": "Add a Sms Account to a user",
29215 "title": "Example usage:",
29216 "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",
29220 "name": "AddSmsAccounts",
29222 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29223 "version": "0.0.0",
29224 "filename": "server/api/user/index.js",
29225 "groupTitle": "Users"
29229 "url": "/api/users/{id}/sms_interactions",
29230 "title": "Add sms interaction tabs to an agent",
29233 "title": "Example usage:",
29234 "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",
29238 "name": "AddSmsInteractions",
29240 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29241 "version": "0.0.0",
29242 "filename": "server/api/user/index.js",
29243 "groupTitle": "Users"
29247 "url": "/api/users/{id}/square_projects",
29248 "title": "Add a Square Project to a user",
29251 "title": "Example usage:",
29252 "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",
29256 "name": "AddSquareProjects",
29258 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29259 "version": "0.0.0",
29260 "filename": "server/api/user/index.js",
29261 "groupTitle": "Users"
29265 "url": "/api/users/{id}/teams",
29266 "title": "Add teams to an agent",
29269 "title": "Example usage:",
29270 "content": "curl https://{domain}/api/users/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29274 "name": "AddTeams",
29276 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29277 "version": "0.0.0",
29278 "filename": "server/api/user/index.js",
29279 "groupTitle": "Users"
29283 "url": "/api/users/{id}/whatsapp_accounts",
29284 "title": "Add a Whatsapp Account to a user",
29287 "title": "Example usage:",
29288 "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",
29292 "name": "AddWhatsappAccounts",
29294 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29295 "version": "0.0.0",
29296 "filename": "server/api/user/index.js",
29297 "groupTitle": "Users"
29301 "url": "/api/users/{id}/whatsapp_interactions",
29302 "title": "Add Whatsapp interaction tabs to an agent",
29305 "title": "Example usage:",
29306 "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",
29310 "name": "AddWhatsappInteractions",
29312 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29313 "version": "0.0.0",
29314 "filename": "server/api/user/index.js",
29315 "groupTitle": "Users"
29319 "url": "/api/users/{id}/password",
29320 "title": "Change user password",
29323 "title": "Example usage:",
29324 "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",
29328 "name": "ChangePwd",
29330 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29331 "version": "0.0.0",
29332 "filename": "server/api/user/index.js",
29333 "groupTitle": "Users"
29337 "url": "/api/users",
29338 "title": "Create a new user",
29341 "title": "Example usage:",
29342 "content": "curl https://{domain}/api/users -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29348 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29349 "version": "0.0.0",
29350 "filename": "server/api/user/index.js",
29351 "groupTitle": "Users"
29355 "url": "/api/users/{id}/api_key",
29356 "title": "Create a new API access key for the user",
29359 "title": "Example usage:",
29360 "content": "curl https://{domain}/api/users/:id/api_key -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29364 "name": "CreateApiKey",
29366 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29367 "version": "0.0.0",
29368 "filename": "server/api/user/index.js",
29369 "groupTitle": "Users"
29373 "url": "/api/users/{id}",
29374 "title": "Deletes a user",
29377 "title": "Example usage:",
29378 "content": "curl https://{domain}/api/users/{id} -v -u {name}:{password} -X DELETE",
29384 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29385 "version": "0.0.0",
29386 "filename": "server/api/user/index.js",
29387 "groupTitle": "Users"
29391 "url": "/api/users/describe",
29392 "title": "Gets table info about Users",
29395 "title": "Example usage:",
29396 "content": "curl https://{domain}/api/users/describe -v -u {name}:{password}",
29400 "name": "DescribeUsers",
29402 "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>",
29403 "version": "0.0.0",
29404 "filename": "server/api/user/index.js",
29405 "groupTitle": "Users"
29409 "url": "/api/users/{id}/agents",
29410 "title": "GetAgents",
29413 "title": "Example usage:",
29414 "content": "curl https://{domain}/api/users/{id}/agents -v -u {name}:{password} -X GET",
29418 "name": "GetAgents",
29420 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29421 "version": "0.0.0",
29422 "filename": "server/api/user/index.js",
29423 "groupTitle": "Users"
29427 "url": "/api/users/{id}/api_key",
29428 "title": "Get the API access key for the user",
29431 "title": "Example usage:",
29432 "content": "curl https://{domain}/api/users/:id/api_key -v -u {name}:{password} -X GET",
29436 "name": "GetApiKey",
29438 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29439 "version": "0.0.0",
29440 "filename": "server/api/user/index.js",
29441 "groupTitle": "Users"
29445 "url": "/api/users/{id}/groups",
29446 "title": "GetChatGroups",
29449 "title": "Example usage:",
29450 "content": "curl https://{domain}/api/users/{id}/groups -v -u {name}:{password} -X GET",
29454 "name": "GetChatGroups",
29456 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29457 "version": "0.0.0",
29458 "filename": "server/api/user/index.js",
29459 "groupTitle": "Users"
29463 "url": "/api/users/{id}/chat/interactions",
29464 "title": "GetChatInteractions",
29467 "title": "Example usage:",
29468 "content": "curl https://{domain}/api/users/{id}/chat/interactions -v -u {name}:{password} -X GET",
29472 "name": "GetChatInteractions",
29474 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29475 "version": "0.0.0",
29476 "filename": "server/api/user/index.js",
29477 "groupTitle": "Users"
29481 "url": "/api/users/{id}/chat_websites",
29482 "title": "GetChatWebsites",
29485 "title": "Example usage:",
29486 "content": "curl https://{domain}/api/users/{id}/chat_websites -v -u {name}:{password} -X GET",
29490 "name": "GetChatWebsites",
29492 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29493 "version": "0.0.0",
29494 "filename": "server/api/user/index.js",
29495 "groupTitle": "Users"
29499 "url": "/api/users/{id}/contacts",
29500 "title": "GetContacts",
29503 "title": "Example usage:",
29504 "content": "curl https://{domain}/api/users/{id}/contacts -v -u {name}:{password} -X GET",
29508 "name": "GetContacts",
29510 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29511 "version": "0.0.0",
29512 "filename": "server/api/user/index.js",
29513 "groupTitle": "Users"
29517 "url": "/api/users/{id}/fax_accounts",
29518 "title": "GetFaxAccounts",
29521 "title": "Example usage:",
29522 "content": "curl https://{domain}/api/users/{id}/fax_accounts -v -u {name}:{password} -X GET",
29526 "name": "GetFaxAccounts",
29528 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29529 "version": "0.0.0",
29530 "filename": "server/api/user/index.js",
29531 "groupTitle": "Users"
29535 "url": "/api/users/{id}/fax/interactions",
29536 "title": "GetFaxInteractions",
29539 "title": "Example usage:",
29540 "content": "curl https://{domain}/api/users/{id}/fax/interactions -v -u {name}:{password} -X GET",
29544 "name": "GetFaxInteractions",
29546 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29547 "version": "0.0.0",
29548 "filename": "server/api/user/index.js",
29549 "groupTitle": "Users"
29553 "url": "/api/users/{id}/lists",
29554 "title": "GetLists",
29557 "title": "Example usage:",
29558 "content": "curl https://{domain}/api/users/{id}/lists -v -u {name}:{password} -X GET",
29562 "name": "GetLists",
29564 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29565 "version": "0.0.0",
29566 "filename": "server/api/user/index.js",
29567 "groupTitle": "Users"
29571 "url": "/api/users/{id}/mail_accounts",
29572 "title": "GetMailAccounts",
29575 "title": "Example usage:",
29576 "content": "curl https://{domain}/api/users/{id}/mail_accounts -v -u {name}:{password} -X GET",
29580 "name": "GetMailAccounts",
29582 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29583 "version": "0.0.0",
29584 "filename": "server/api/user/index.js",
29585 "groupTitle": "Users"
29589 "url": "/api/users/{id}/mail/interactions",
29590 "title": "GetMailInteractions",
29593 "title": "Example usage:",
29594 "content": "curl https://{domain}/api/users/{id}/mail/interactions -v -u {name}:{password} -X GET",
29598 "name": "GetMailInteractions",
29600 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29601 "version": "0.0.0",
29602 "filename": "server/api/user/index.js",
29603 "groupTitle": "Users"
29607 "url": "/api/users/{id}/openchannel_accounts",
29608 "title": "GetOpenchannelAccounts",
29611 "title": "Example usage:",
29612 "content": "curl https://{domain}/api/users/{id}/openchannel_accounts -v -u {name}:{password} -X GET",
29616 "name": "GetOpenchannelAccounts",
29618 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29619 "version": "0.0.0",
29620 "filename": "server/api/user/index.js",
29621 "groupTitle": "Users"
29625 "url": "/api/users/{id}/openchannel/interactions",
29626 "title": "GetOpenchannelInteractions",
29629 "title": "Example usage:",
29630 "content": "curl https://{domain}/api/users/{id}/openchannel/interactions -v -u {name}:{password}",
29634 "name": "GetOpenchannelInteractions",
29636 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29637 "version": "0.0.0",
29638 "filename": "server/api/user/index.js",
29639 "groupTitle": "Users"
29643 "url": "/api/users/{id}/prefixes",
29644 "title": "GetPrefixes",
29647 "title": "Example usage:",
29648 "content": "curl https://{domain}/api/users/{id}/prefixes -v -u {name}:{password} -X GET",
29652 "name": "GetPrefixes",
29654 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29655 "version": "0.0.0",
29656 "filename": "server/api/user/index.js",
29657 "groupTitle": "Users"
29661 "url": "/api/users/{id}/queues?channel={channel}",
29662 "title": "Gets Queues list",
29665 "title": "Example usage:",
29666 "content": "curl https://{domain}/api/users/{id}/queues/?channel={channel} -v -u {name}:{password} -X GET",
29670 "name": "GetQueues",
29672 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29673 "version": "0.0.0",
29674 "filename": "server/api/user/index.js",
29675 "groupTitle": "Users"
29679 "url": "/api/users/{id}/recordings",
29680 "title": "GetRecordings",
29683 "title": "Example usage:",
29684 "content": "curl https://{domain}/api/users/{id}/recordings -v -u {name}:{password} -X GET",
29688 "name": "GetRecordings",
29690 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29691 "version": "0.0.0",
29692 "filename": "server/api/user/index.js",
29693 "groupTitle": "Users"
29697 "url": "/api/users/{id}/scheduled_calls",
29698 "title": "GetScheduledCalls",
29701 "title": "Example usage:",
29702 "content": "curl https://{domain}/api/users/{id}/scheduled_calls -v -u {name}:{password} -X GET",
29706 "name": "GetScheduledCalls",
29708 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29709 "version": "0.0.0",
29710 "filename": "server/api/user/index.js",
29711 "groupTitle": "Users"
29715 "url": "/api/users/{id}/screen_recordings",
29716 "title": "GetScreenRecordings",
29719 "title": "Example usage:",
29720 "content": "curl https://{domain}/api/users/{id}/screen_recordings -v -u {name}:{password} -X GET",
29724 "name": "GetScreenRecordings",
29726 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29727 "version": "0.0.0",
29728 "filename": "server/api/user/index.js",
29729 "groupTitle": "Users"
29733 "url": "/api/users/{id}/sms_accounts",
29734 "title": "GetSmsAccounts",
29737 "title": "Example usage:",
29738 "content": "curl https://{domain}/api/users/{id}/sms_accounts -v -u {name}:{password} -X GET",
29742 "name": "GetSmsAccounts",
29744 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29745 "version": "0.0.0",
29746 "filename": "server/api/user/index.js",
29747 "groupTitle": "Users"
29751 "url": "/api/users/{id}/sms/interactions",
29752 "title": "GetSmsInteractions",
29755 "title": "Example usage:",
29756 "content": "curl https://{domain}/api/users/{id}/sms/interactions -v -u {name}:{password} -X GET",
29760 "name": "GetSmsInteractions",
29762 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29763 "version": "0.0.0",
29764 "filename": "server/api/user/index.js",
29765 "groupTitle": "Users"
29769 "url": "/api/users/{id}/square_projects",
29770 "title": "GetSquareProjects",
29773 "title": "Example usage:",
29774 "content": "curl https://{domain}/api/users/{id}/square_projects -v -u {name}:{password} -X GET",
29778 "name": "GetSquareProjects",
29780 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29781 "version": "0.0.0",
29782 "filename": "server/api/user/index.js",
29783 "groupTitle": "Users"
29787 "url": "/api/users/{id}/teams",
29788 "title": "GetTeams",
29791 "title": "Example usage:",
29792 "content": "curl https://{domain}/api/users/{id}/teams -v -u {name}:{password} -X GET",
29796 "name": "GetTeams",
29798 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29799 "version": "0.0.0",
29800 "filename": "server/api/user/index.js",
29801 "groupTitle": "Users"
29805 "url": "/api/users",
29806 "title": "Gets a list of Users",
29809 "title": "Example usage:",
29810 "content": "curl https://{domain}/api/users -v -u {name}:{password}",
29814 "name": "GetUsers",
29816 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
29817 "version": "0.0.0",
29818 "filename": "server/api/user/index.js",
29819 "groupTitle": "Users"
29823 "url": "/api/users/{id}/queues_rt",
29824 "title": "GetVoiceQueuesRt",
29827 "title": "Example usage:",
29828 "content": "curl https://{domain}/api/users/{id}/queues_rt -v -u {name}:{password} -X GET",
29832 "name": "GetVoiceQueuesRt",
29834 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29835 "version": "0.0.0",
29836 "filename": "server/api/user/index.js",
29837 "groupTitle": "Users"
29841 "url": "/api/users/{id}/whatsapp_accounts",
29842 "title": "GetWhatsappAccounts",
29845 "title": "Example usage:",
29846 "content": "curl https://{domain}/api/users/{id}/whatsapp_accounts -v -u {name}:{password} -X GET",
29850 "name": "GetWhatsappAccounts",
29852 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29853 "version": "0.0.0",
29854 "filename": "server/api/user/index.js",
29855 "groupTitle": "Users"
29859 "url": "/api/users/{id}/whatsapp/interactions",
29860 "title": "GetWhatsappInteractions",
29863 "title": "Example usage:",
29864 "content": "curl https://{domain}/api/users/{id}/whatsapp/interactions -v -u {name}:{password} -X GET",
29868 "name": "GetWhatsappInteractions",
29870 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29871 "version": "0.0.0",
29872 "filename": "server/api/user/index.js",
29873 "groupTitle": "Users"
29877 "url": "/api/users/{id}/login",
29881 "title": "Example usage:",
29882 "content": "curl https://{domain}/api/users/{id}/login -v -u {name}:{password} -X POST",
29888 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29889 "version": "0.0.0",
29890 "filename": "server/api/user/index.js",
29891 "groupTitle": "Users"
29895 "url": "/api/users/{id}/logout",
29899 "title": "Example usage:",
29900 "content": "curl https://{domain}/api/users/{id}/logout -v -u {name}:{password} -X POST",
29906 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29907 "version": "0.0.0",
29908 "filename": "server/api/user/index.js",
29909 "groupTitle": "Users"
29913 "url": "/api/users/{id}/pause",
29917 "title": "Example usage:",
29918 "content": "curl https://{domain}/api/users/{id}/pause -v -u {name}:{password} -X POST",
29924 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29925 "version": "0.0.0",
29926 "filename": "server/api/user/index.js",
29927 "groupTitle": "Users"
29931 "url": "/api/users/{id}/api_key",
29932 "title": "Remove API access key for the user",
29935 "title": "Example usage:",
29936 "content": "curl https://{domain}/api/users/:id/api_key -v -u {name}:{password} -X DELETE",
29940 "name": "RemoveApiKey",
29942 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29943 "version": "0.0.0",
29944 "filename": "server/api/user/index.js",
29945 "groupTitle": "Users"
29949 "url": "/api/users/{id}/chat_interactions",
29950 "title": "Removes interactions from an agent",
29953 "title": "Example usage:",
29954 "content": "curl https://{domain}/api/users/{id}/chat_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29958 "name": "RemoveChatInteractions",
29960 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29961 "version": "0.0.0",
29962 "filename": "server/api/user/index.js",
29963 "groupTitle": "Users"
29967 "url": "/api/users/{id}/chat_websites",
29968 "title": "Removes a Chat Website from a user",
29971 "title": "Example usage:",
29972 "content": "curl https://{domain}/api/users/{id}/chat_websites?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29976 "name": "RemoveChatWebsites",
29978 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29979 "version": "0.0.0",
29980 "filename": "server/api/user/index.js",
29981 "groupTitle": "Users"
29985 "url": "/api/users/{id}/fax_accounts",
29986 "title": "Removes a Fax Account from a user",
29989 "title": "Example usage:",
29990 "content": "curl https://{domain}/api/users/{id}/fax_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29994 "name": "RemoveFaxAccounts",
29996 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29997 "version": "0.0.0",
29998 "filename": "server/api/user/index.js",
29999 "groupTitle": "Users"
30003 "url": "/api/users/{id}/fax_interactions",
30004 "title": "Removes interactions from an agent",
30007 "title": "Example usage:",
30008 "content": "curl https://{domain}/api/users/{id}/fax_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30012 "name": "RemoveFaxInteractions",
30014 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30015 "version": "0.0.0",
30016 "filename": "server/api/user/index.js",
30017 "groupTitle": "Users"
30021 "url": "/api/users/{id}/mail_accounts",
30022 "title": "Removes a Mail Account from a user",
30025 "title": "Example usage:",
30026 "content": "curl https://{domain}/api/users/{id}/mail_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30030 "name": "RemoveMailAccounts",
30032 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30033 "version": "0.0.0",
30034 "filename": "server/api/user/index.js",
30035 "groupTitle": "Users"
30039 "url": "/api/users/{id}/mail_interactions",
30040 "title": "Removes interactions from an agent",
30043 "title": "Example usage:",
30044 "content": "curl https://{domain}/api/users/{id}/mail_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30048 "name": "RemoveMailInteractions",
30050 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30051 "version": "0.0.0",
30052 "filename": "server/api/user/index.js",
30053 "groupTitle": "Users"
30057 "url": "/api/users/{id}/openchannel_accounts",
30058 "title": "Removes a Open Channel Account from a user",
30061 "title": "Example usage:",
30062 "content": "curl https://{domain}/api/users/{id}/openchannel_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30066 "name": "RemoveOpenchannelAccounts",
30068 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30069 "version": "0.0.0",
30070 "filename": "server/api/user/index.js",
30071 "groupTitle": "Users"
30075 "url": "/api/users/{id}/openchannel_interactions",
30076 "title": "Removes openchannel interactions from an agent",
30079 "title": "Example usage:",
30080 "content": "curl https://{domain}/api/users/{id}/openchannel_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30084 "name": "RemoveOpenchannelInteractions",
30086 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30087 "version": "0.0.0",
30088 "filename": "server/api/user/index.js",
30089 "groupTitle": "Users"
30093 "url": "/api/users/{id}/queues",
30094 "title": "Remove queues to an agent",
30097 "title": "Example usage:",
30098 "content": "curl https://{domain}/api/users/{id}/queues?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30102 "name": "RemoveQueues",
30104 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30105 "version": "0.0.0",
30106 "filename": "server/api/user/index.js",
30107 "groupTitle": "Users"
30111 "url": "/api/users/{id}/sms_accounts",
30112 "title": "Removes a Sms Account from a user",
30115 "title": "Example usage:",
30116 "content": "curl https://{domain}/api/users/{id}/sms_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30120 "name": "RemoveSmsAccounts",
30122 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30123 "version": "0.0.0",
30124 "filename": "server/api/user/index.js",
30125 "groupTitle": "Users"
30129 "url": "/api/users/{id}/sms_interactions",
30130 "title": "Removes interactions from an agent",
30133 "title": "Example usage:",
30134 "content": "curl https://{domain}/api/users/{id}/sms_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30138 "name": "RemoveSmsInteractions",
30140 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30141 "version": "0.0.0",
30142 "filename": "server/api/user/index.js",
30143 "groupTitle": "Users"
30147 "url": "/api/users/{id}/square_projects",
30148 "title": "Removes a Square Project from a user",
30151 "title": "Example usage:",
30152 "content": "curl https://{domain}/api/users/{id}/square_projects?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30156 "name": "RemoveSquareProjects",
30158 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30159 "version": "0.0.0",
30160 "filename": "server/api/user/index.js",
30161 "groupTitle": "Users"
30165 "url": "/api/users/{id}/teams",
30166 "title": "Removes teams from an agent",
30169 "title": "Example usage:",
30170 "content": "curl https://{domain}/api/users/{id}/teams?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30174 "name": "RemoveTeams",
30176 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30177 "version": "0.0.0",
30178 "filename": "server/api/user/index.js",
30179 "groupTitle": "Users"
30183 "url": "/api/users/{id}/whatsapp_accounts",
30184 "title": "Removes a Whatsapp Account from a user",
30187 "title": "Example usage:",
30188 "content": "curl https://{domain}/api/users/{id}/whatsapp_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30192 "name": "RemoveWhatsappAccounts",
30194 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30195 "version": "0.0.0",
30196 "filename": "server/api/user/index.js",
30197 "groupTitle": "Users"
30201 "url": "/api/users/{id}/whatsapp_interactions",
30202 "title": "Removes Whatsapp interactions from an agent",
30205 "title": "Example usage:",
30206 "content": "curl https://{domain}/api/users/{id}/whatsapp_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30210 "name": "RemoveWhatsappInteractions",
30212 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30213 "version": "0.0.0",
30214 "filename": "server/api/user/index.js",
30215 "groupTitle": "Users"
30219 "url": "/api/users/{id}",
30220 "title": "Gets a single User",
30223 "title": "Example usage:",
30224 "content": "curl https://{domain}/api/users/{id} -v -u {name}:{password}",
30228 "name": "ShowUsers",
30230 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30231 "version": "0.0.0",
30232 "filename": "server/api/user/index.js",
30233 "groupTitle": "Users"
30237 "url": "/api/users/{id}/unpause",
30238 "title": "Unpause",
30241 "title": "Example usage:",
30242 "content": "curl https://{domain}/api/users/{id}/unpause -v -u {name}:{password} -X POST",
30248 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30249 "version": "0.0.0",
30250 "filename": "server/api/user/index.js",
30251 "groupTitle": "Users"
30255 "url": "/api/users/whoami",
30259 "title": "Example usage:",
30260 "content": "curl https://{domain}/api/users/whoami -v -u {name}:{password} -X GET",
30266 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30267 "version": "0.0.0",
30268 "filename": "server/api/user/index.js",
30269 "groupTitle": "Users"
30273 "url": "/api/users/{id}/avatar",
30274 "title": "Add avatar",
30277 "title": "Example usage:",
30278 "content": "curl https://{domain}/api/users/{id}/avatar -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
30282 "name": "addAvatar",
30284 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30285 "version": "0.0.0",
30286 "filename": "server/api/user/index.js",
30287 "groupTitle": "Users"
30291 "url": "/api/users/create_many",
30292 "title": "Create Users",
30295 "title": "Example usage:",
30296 "content": "curl https://{domain}/api/users/create_many -d '[{\"name\": \"john.doe\", \"role\": \"user\", \"...\": \"...\"}]' -v -u {name}:{password} -X POST",
30300 "name": "bulkCreate",
30302 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30303 "version": "0.0.0",
30304 "filename": "server/api/user/index.js",
30305 "groupTitle": "Users"
30309 "url": "/api/users/{id}/avatar",
30310 "title": "Get avatar",
30313 "title": "Example usage:",
30314 "content": "curl https://{domain}/api/users/{id}/avatar -v -u {name}:{password} -X GET",
30318 "name": "getAvatar",
30320 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30321 "version": "0.0.0",
30322 "filename": "server/api/user/index.js",
30323 "groupTitle": "Users"
30327 "url": "/api/users/{id}/open_tabs",
30328 "title": "Get interactions opened tabs",
30331 "title": "Example usage:",
30332 "content": "curl https://{domain}/api/users/{id}/open_tabs -v -u {name}:{password} -X GET",
30336 "name": "getOpenTabs",
30338 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30339 "version": "0.0.0",
30340 "filename": "server/api/user/index.js",
30341 "groupTitle": "Users"
30345 "url": "/api/users/presence",
30346 "title": "Gets agent presence",
30349 "title": "Example usage:",
30350 "content": "curl https://{domain}/api/users/presence -v -u {name}:{password} -X GET",
30354 "name": "getPresence",
30356 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30357 "version": "0.0.0",
30358 "filename": "server/api/user/index.js",
30359 "groupTitle": "Users"
30363 "url": "/api/users/{id}",
30364 "title": "Update an existing User",
30367 "title": "Example usage:",
30368 "content": "curl https://{domain}/api/users/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
30372 "name": "updateUsers",
30374 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30375 "version": "0.0.0",
30376 "filename": "server/api/user/index.js",
30377 "groupTitle": "Users"
30381 "url": "/api/variables",
30382 "title": "Creates a new Variable",
30385 "title": "Example usage:",
30386 "content": "curl https://{domain}/api/variables -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30390 "name": "CreateVariables",
30391 "group": "Variables",
30406 "field": "description",
30412 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30413 "version": "0.0.0",
30414 "filename": "server/api/variable/index.js",
30415 "groupTitle": "Variables"
30419 "url": "/api/variables/{id}",
30420 "title": "Deletes a Variable",
30423 "title": "Example usage:",
30424 "content": "curl https://{domain}/api/variables/{id} -v -u {name}:{password} -X DELETE",
30428 "name": "DeleteVariables",
30429 "group": "Variables",
30430 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30431 "version": "0.0.0",
30432 "filename": "server/api/variable/index.js",
30433 "groupTitle": "Variables"
30437 "url": "/api/variables",
30438 "title": "Gets a list of Variables",
30441 "title": "Example usage:",
30442 "content": "curl https://{domain}/api/variables -v -u {name}:{password}",
30446 "name": "GetVariables",
30447 "group": "Variables",
30448 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30449 "version": "0.0.0",
30450 "filename": "server/api/variable/index.js",
30451 "groupTitle": "Variables"
30455 "url": "/api/variables/{id}",
30456 "title": "Gets a single Variable",
30459 "title": "Example usage:",
30460 "content": "curl https://{domain}/api/variables/{id} -v -u {name}:{password}",
30464 "name": "ShowVariables",
30465 "group": "Variables",
30466 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30467 "version": "0.0.0",
30468 "filename": "server/api/variable/index.js",
30469 "groupTitle": "Variables"
30473 "url": "/api/variables/{id}",
30474 "title": "Update an existing Variable",
30477 "title": "Example usage:",
30478 "content": "curl https://{domain}/api/variables/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
30482 "name": "updateVariables",
30483 "group": "Variables",
30484 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30485 "version": "0.0.0",
30486 "filename": "server/api/variable/index.js",
30487 "groupTitle": "Variables"
30491 "url": "/api/version/fetch",
30492 "title": "Fetch git version",
30495 "title": "Example usage:",
30496 "content": "curl https://{domain}/api/version/fetch -v -u {name}:{password}",
30500 "name": "FetchVersion",
30501 "group": "Version",
30502 "description": "<p>Motion run the following command: git fetch origin master</p>",
30503 "version": "0.0.0",
30504 "filename": "server/api/version/index.js",
30505 "groupTitle": "Version"
30509 "url": "/api/version",
30510 "title": "Gets version",
30513 "title": "Example usage:",
30514 "content": "curl https://{domain}/api/version -v -u {name}:{password}",
30518 "name": "GetVersion",
30519 "group": "Version",
30520 "description": "<p>Motion returns the current and latest motion version.</p>",
30521 "version": "0.0.0",
30522 "filename": "server/api/version/index.js",
30523 "groupTitle": "Version"
30527 "url": "/api/version/migrations",
30528 "title": "Launch database migrations",
30531 "title": "Example usage:",
30532 "content": "curl https://{domain}/api/version/migrations -v -u {name}:{password}",
30536 "name": "MigrateVersion",
30537 "group": "Version",
30538 "description": "<p>Motion launch the database migrations, according to the application version</p>",
30539 "version": "0.0.0",
30540 "filename": "server/api/version/index.js",
30541 "groupTitle": "Version"
30545 "url": "/api/version/pull",
30546 "title": "Pull git version",
30549 "title": "Example usage:",
30550 "content": "curl https://{domain}/api/version/pull -v -u {name}:{password}",
30554 "name": "PullVersion",
30555 "group": "Version",
30556 "description": "<p>Motion run the following command: git pull</p>",
30557 "version": "0.0.0",
30558 "filename": "server/api/version/index.js",
30559 "groupTitle": "Version"
30563 "url": "/api/version/reset",
30564 "title": "Reset git version",
30567 "title": "Example usage:",
30568 "content": "curl https://{domain}/api/version/reset -v -u {name}:{password}",
30572 "name": "ResetVersion",
30573 "group": "Version",
30574 "description": "<p>Motion run the following command: git reset --hard FETCH_HEAD</p>",
30575 "version": "0.0.0",
30576 "filename": "server/api/version/index.js",
30577 "groupTitle": "Version"
30581 "url": "/api/version/restart",
30582 "title": "Restart motion2 after update",
30585 "title": "Example usage:",
30586 "content": "curl https://{domain}/api/version/restart -v -u {name}:{password}",
30590 "name": "RestartVersion",
30591 "group": "Version",
30592 "description": "<p>Motion run the following command: pm2 restart motion</p>",
30593 "version": "0.0.0",
30594 "filename": "server/api/version/index.js",
30595 "groupTitle": "Version"
30599 "url": "/api/voice/agents/reports/describe",
30600 "title": "Gets table info about Agent Reports",
30603 "title": "Example usage:",
30604 "content": "curl https://{domain}/api/voice/agents/reports/describe -v -u {name}:{password}",
30608 "name": "DescribeAgent_Reports",
30609 "group": "Voice_Agent_Reports",
30610 "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>",
30611 "version": "0.0.0",
30612 "filename": "server/api/voiceAgentReport/index.js",
30613 "groupTitle": "Voice_Agent_Reports"
30617 "url": "/api/voice/agents/reports",
30618 "title": "Gets a list of Agent Reports",
30621 "title": "Example usage:",
30622 "content": "curl https://{domain}/api/voice/agents/reports -v -u {name}:{password}",
30626 "name": "GetAgent_Reports",
30627 "group": "Voice_Agent_Reports",
30628 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30629 "version": "0.0.0",
30630 "filename": "server/api/voiceAgentReport/index.js",
30631 "groupTitle": "Voice_Agent_Reports"
30635 "url": "/api/voice/agents/reports/{id}",
30636 "title": "Gets a single Agent Report",
30639 "title": "Example usage:",
30640 "content": "curl https://{domain}/api/voice/agents/reports/{id} -v -u {name}:{password}",
30644 "name": "ShowAgent_Reports",
30645 "group": "Voice_Agent_Reports",
30646 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30647 "version": "0.0.0",
30648 "filename": "server/api/voiceAgentReport/index.js",
30649 "groupTitle": "Voice_Agent_Reports"
30653 "url": "/api/voice/calls/reports/describe",
30654 "title": "Gets table info about Call Reports",
30657 "title": "Example usage:",
30658 "content": "curl https://{domain}/api/voice/calls/reports/describe -v -u {name}:{password}",
30662 "name": "DescribeCall_Reports",
30663 "group": "Voice_Call_Reports",
30664 "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>",
30665 "version": "0.0.0",
30666 "filename": "server/api/voiceCallReport/index.js",
30667 "groupTitle": "Voice_Call_Reports"
30671 "url": "/api/voice/calls/reports",
30672 "title": "Gets a list of Call Reports",
30675 "title": "Example usage:",
30676 "content": "curl https://{domain}/api/voice/calls/reports -v -u {name}:{password}",
30680 "name": "GetCall_Reports",
30681 "group": "Voice_Call_Reports",
30682 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30683 "version": "0.0.0",
30684 "filename": "server/api/voiceCallReport/index.js",
30685 "groupTitle": "Voice_Call_Reports"
30689 "url": "/api/voice/calls/reports/{id}",
30690 "title": "Gets a single Call Report",
30693 "title": "Example usage:",
30694 "content": "curl https://{domain}/api/voice/calls/reports/{id} -v -u {name}:{password}",
30698 "name": "ShowCall_Reports",
30699 "group": "Voice_Call_Reports",
30700 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30701 "version": "0.0.0",
30702 "filename": "server/api/voiceCallReport/index.js",
30703 "groupTitle": "Voice_Call_Reports"
30707 "url": "/api/voice/calls/reports/{id}",
30708 "title": "Update a single cdr",
30711 "title": "Example usage:",
30712 "content": "curl https://{domain}/api/voice/calls/reports/{id} -d '{\"userDispositio\": \"OK\"}' -v -u {name}:{password} -X PUT",
30717 "group": "Voice_Call_Reports",
30718 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30719 "version": "0.0.0",
30720 "filename": "server/api/voiceCallReport/index.js",
30721 "groupTitle": "Voice_Call_Reports"
30725 "url": "/api/voice/chanspy",
30726 "title": "Creates a new ChanSpy",
30729 "title": "Example usage:",
30730 "content": "curl https://{domain}/api/voice/chanspy -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30734 "name": "CreateChanSpy",
30735 "group": "Voice_ChanSpy",
30757 "field": "options",
30771 "field": "password",
30785 "field": "recordingFormat",
30792 "field": "description",
30798 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30799 "version": "0.0.0",
30800 "filename": "server/api/voiceChanSpy/index.js",
30801 "groupTitle": "Voice_ChanSpy"
30805 "url": "/api/voice/chanspy/{id}",
30806 "title": "Deletes a ChanSpy",
30809 "title": "Example usage:",
30810 "content": "curl https://{domain}/api/voice/chanspy/{id} -v -u {name}:{password} -X DELETE",
30814 "name": "DeleteChanSpy",
30815 "group": "Voice_ChanSpy",
30816 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30817 "version": "0.0.0",
30818 "filename": "server/api/voiceChanSpy/index.js",
30819 "groupTitle": "Voice_ChanSpy"
30823 "url": "/api/voice/chanspy",
30824 "title": "Gets a list of ChanSpy",
30827 "title": "Example usage:",
30828 "content": "curl https://{domain}/api/voice/chanspy -v -u {name}:{password}",
30832 "name": "GetChanSpy",
30833 "group": "Voice_ChanSpy",
30834 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30835 "version": "0.0.0",
30836 "filename": "server/api/voiceChanSpy/index.js",
30837 "groupTitle": "Voice_ChanSpy"
30841 "url": "/api/voice/chanspy/{id}",
30842 "title": "Gets a single ChanSpy",
30845 "title": "Example usage:",
30846 "content": "curl https://{domain}/api/voice/chanspy/{id} -v -u {name}:{password}",
30850 "name": "ShowChanSpy",
30851 "group": "Voice_ChanSpy",
30852 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30853 "version": "0.0.0",
30854 "filename": "server/api/voiceChanSpy/index.js",
30855 "groupTitle": "Voice_ChanSpy"
30859 "url": "/api/voice/chanspy/{id}",
30860 "title": "Update an existing ChanSpy",
30863 "title": "Example usage:",
30864 "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",
30868 "name": "updateChanSpy",
30869 "group": "Voice_ChanSpy",
30870 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30871 "version": "0.0.0",
30872 "filename": "server/api/voiceChanSpy/index.js",
30873 "groupTitle": "Voice_ChanSpy"
30877 "url": "/api/voice/contexts",
30878 "title": "Create a new context",
30881 "title": "Example usage:",
30882 "content": "curl https://{domain}/api/voice/contexts -v -u {name}:{password} -X POST",
30887 "group": "Voice_Contexts",
30902 "field": "description",
30909 "field": "defaultEntry",
30915 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30916 "version": "0.0.0",
30917 "filename": "server/api/voiceContext/index.js",
30918 "groupTitle": "Voice_Contexts"
30922 "url": "/api/voice/contexts/{id}",
30923 "title": "Deletes a context",
30926 "title": "Example usage:",
30927 "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password} -X DELETE",
30932 "group": "Voice_Contexts",
30933 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30934 "version": "0.0.0",
30935 "filename": "server/api/voiceContext/index.js",
30936 "groupTitle": "Voice_Contexts"
30940 "url": "/api/voice/contexts",
30941 "title": "Gets a list of Contexts",
30944 "title": "Example usage:",
30945 "content": "curl https://{domain}/api/voice/contexts -v -u {name}:{password}",
30949 "name": "GetContexts",
30950 "group": "Voice_Contexts",
30951 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30952 "version": "0.0.0",
30953 "filename": "server/api/voiceContext/index.js",
30954 "groupTitle": "Voice_Contexts"
30958 "url": "/api/voice/contexts/{id}",
30959 "title": "Gets a single Context",
30962 "title": "Example usage:",
30963 "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password}",
30967 "name": "ShowContexts",
30968 "group": "Voice_Contexts",
30969 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30970 "version": "0.0.0",
30971 "filename": "server/api/voiceContext/index.js",
30972 "groupTitle": "Voice_Contexts"
30976 "url": "/api/voice/contexts/{id}",
30977 "title": "Update an existing context",
30980 "title": "Example usage:",
30981 "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password} -X PUT",
30986 "group": "Voice_Contexts",
30987 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30988 "version": "0.0.0",
30989 "filename": "server/api/voiceContext/index.js",
30990 "groupTitle": "Voice_Contexts"
30994 "url": "/api/voice/dials/reports/describe",
30995 "title": "Gets table info about Dial Reports",
30998 "title": "Example usage:",
30999 "content": "curl https://{domain}/api/voice/dials/reports/describe -v -u {name}:{password}",
31003 "name": "DescribeDial_Reports",
31004 "group": "Voice_Dial_Reports",
31005 "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>",
31006 "version": "0.0.0",
31007 "filename": "server/api/voiceDialReport/index.js",
31008 "groupTitle": "Voice_Dial_Reports"
31012 "url": "/api/voice/dials/reports",
31013 "title": "Gets a list of Dial Reports",
31016 "title": "Example usage:",
31017 "content": "curl https://{domain}/api/voice/dials/reports -v -u {name}:{password}",
31021 "name": "GetDial_Reports",
31022 "group": "Voice_Dial_Reports",
31023 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
31024 "version": "0.0.0",
31025 "filename": "server/api/voiceDialReport/index.js",
31026 "groupTitle": "Voice_Dial_Reports"
31030 "url": "/api/voice/dials/reports/{id}",
31031 "title": "Gets a single Dial Report",
31034 "title": "Example usage:",
31035 "content": "curl https://{domain}/api/voice/dials/reports/{id} -v -u {name}:{password}",
31039 "name": "ShowDial_Reports",
31040 "group": "Voice_Dial_Reports",
31041 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31042 "version": "0.0.0",
31043 "filename": "server/api/voiceDialReport/index.js",
31044 "groupTitle": "Voice_Dial_Reports"
31048 "url": "/api/voice/extensions/{id}",
31049 "title": "Deletes a Extension",
31052 "title": "Example usage:",
31053 "content": "curl https://{domain}/api/voice/extensions/{id} -v -u {name}:{password} -X DELETE",
31057 "name": "DeleteExtensions",
31058 "group": "Voice_Extensions",
31059 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31060 "version": "0.0.0",
31061 "filename": "server/api/voiceExtension/index.js",
31062 "groupTitle": "Voice_Extensions"
31066 "url": "/api/voice/extensions",
31067 "title": "Gets a list of Extensions",
31070 "title": "Example usage:",
31071 "content": "curl https://{domain}/api/voice/extensions -v -u {name}:{password}",
31075 "name": "GetExtensions",
31076 "group": "Voice_Extensions",
31077 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
31078 "version": "0.0.0",
31079 "filename": "server/api/voiceExtension/index.js",
31080 "groupTitle": "Voice_Extensions"
31084 "url": "/api/voice/extensions/{id}",
31085 "title": "Gets a single Extension",
31088 "title": "Example usage:",
31089 "content": "curl https://{domain}/api/voice/extensions/{id} -v -u {name}:{password}",
31093 "name": "ShowExtensions",
31094 "group": "Voice_Extensions",
31095 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31096 "version": "0.0.0",
31097 "filename": "server/api/voiceExtension/index.js",
31098 "groupTitle": "Voice_Extensions"
31102 "url": "/api/voice/extensions",
31103 "title": "Create new applications",
31106 "title": "Example usage:",
31107 "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",
31111 "name": "addApplications",
31112 "group": "Voice_Extensions",
31113 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31114 "version": "0.0.0",
31115 "filename": "server/api/voiceExtension/index.js",
31116 "groupTitle": "Voice_Extensions"
31120 "url": "/api/voice/extensions",
31121 "title": "Create an extension",
31124 "title": "Example usage:",
31125 "content": "curl https://{domain}/api/voice/extensions -d '{\"exten\": \"12345\", \"context\": \"from-custom\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31130 "group": "Voice_Extensions",
31131 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31132 "version": "0.0.0",
31133 "filename": "server/api/voiceExtension/index.js",
31134 "groupTitle": "Voice_Extensions"
31138 "url": "/api/voice/extensions/{id}",
31139 "title": "Update an extension",
31142 "title": "Example usage:",
31143 "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",
31148 "group": "Voice_Extensions",
31149 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31150 "version": "0.0.0",
31151 "filename": "server/api/voiceExtension/index.js",
31152 "groupTitle": "Voice_Extensions"
31156 "url": "/api/voice/mohs",
31157 "title": "Create a new a new MOH",
31160 "title": "Example usage:",
31161 "content": "curl https://{domain}/api/voice/mohs -d '{\"name\": \"xmas_musics\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31166 "group": "Voice_MOHs",
31167 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31168 "version": "0.0.0",
31169 "filename": "server/api/voiceMusicOnHold/index.js",
31170 "groupTitle": "Voice_MOHs"
31174 "url": "/api/voice/mohs/{id}/sounds",
31175 "title": "Add sound to MOH",
31178 "title": "Example usage:",
31179 "content": "curl https://{domain}/api/voice/mohs/{id}/sounds -d '{\"id\": 1}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31183 "name": "AddSound",
31184 "group": "Voice_MOHs",
31185 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31186 "version": "0.0.0",
31187 "filename": "server/api/voiceMusicOnHold/index.js",
31188 "groupTitle": "Voice_MOHs"
31192 "url": "/api/voice/mohs/{id}",
31193 "title": "Deletes an MOH",
31196 "title": "Example usage:",
31197 "content": "curl https://{domain}/api/voice/mohs/{id} -v -u {name}:{password} -X DELETE",
31201 "name": "DestroyMoh",
31202 "group": "Voice_MOHs",
31203 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31204 "version": "0.0.0",
31205 "filename": "server/api/voiceMusicOnHold/index.js",
31206 "groupTitle": "Voice_MOHs"
31210 "url": "/api/voice/mohs",
31211 "title": "Gets a list of Music On Holds",
31214 "title": "Example usage:",
31215 "content": "curl https://{domain}/api/voice/mohs -v -u {name}:{password}",
31219 "name": "GetMusic_On_Holds",
31220 "group": "Voice_MOHs",
31221 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
31222 "version": "0.0.0",
31223 "filename": "server/api/voiceMusicOnHold/index.js",
31224 "groupTitle": "Voice_MOHs"
31228 "url": "/api/voice/mohs/{id}/sounds",
31229 "title": "Gets sounds from MOH",
31232 "title": "Example usage:",
31233 "content": "curl https://{domain}/api/voice/mohs/{id}/sounds -v -u {name}:{password} -X DELETE",
31237 "name": "GetSounds",
31238 "group": "Voice_MOHs",
31239 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31240 "version": "0.0.0",
31241 "filename": "server/api/voiceMusicOnHold/index.js",
31242 "groupTitle": "Voice_MOHs"
31246 "url": "/api/voice/mohs/{id}/sounds/{id2}",
31247 "title": "Remove sound from MOH",
31250 "title": "Example usage:",
31251 "content": "curl https://{domain}/api/voice/mohs/{id}/sounds/{id2} -v -u {name}:{password} -X DELETE",
31255 "name": "RemoveSound",
31256 "group": "Voice_MOHs",
31257 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31258 "version": "0.0.0",
31259 "filename": "server/api/voiceMusicOnHold/index.js",
31260 "groupTitle": "Voice_MOHs"
31264 "url": "/api/voice/mohs/{id}",
31265 "title": "Gets a single Music On Hold",
31268 "title": "Example usage:",
31269 "content": "curl https://{domain}/api/voice/mohs/{id} -v -u {name}:{password}",
31273 "name": "ShowMusic_On_Holds",
31274 "group": "Voice_MOHs",
31275 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31276 "version": "0.0.0",
31277 "filename": "server/api/voiceMusicOnHold/index.js",
31278 "groupTitle": "Voice_MOHs"
31282 "url": "/api/voice/mohs/{id}",
31283 "title": "Update an existing Music On Hold",
31286 "title": "Example usage:",
31287 "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",
31291 "name": "updateMusic_On_Holds",
31292 "group": "Voice_MOHs",
31293 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31294 "version": "0.0.0",
31295 "filename": "server/api/voiceMusicOnHold/index.js",
31296 "groupTitle": "Voice_MOHs"
31300 "url": "/api/voice/mails",
31301 "title": "Creates a new Mail",
31304 "title": "Example usage:",
31305 "content": "curl https://{domain}/api/voice/mails -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
31309 "name": "CreateMails",
31310 "group": "Voice_Mails",
31318 "field": "customer_id",
31325 "field": "context",
31332 "field": "mailbox",
31339 "field": "password",
31346 "field": "fullname",
31396 "field": "dialout",
31403 "field": "callback",
31425 "field": "operator",
31436 "field": "envelope",
31447 "field": "sayduration",
31454 "field": "saydurationm",
31465 "field": "sendvoicemail",
31487 "field": "nextaftercmd",
31498 "field": "forcename",
31509 "field": "forcegreetings",
31520 "field": "hidefromdir",
31534 "field": "emailsubject",
31541 "field": "emailbody",
31548 "field": "maxsecs",
31568 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31569 "version": "0.0.0",
31570 "filename": "server/api/voiceMail/index.js",
31571 "groupTitle": "Voice_Mails"
31575 "url": "/api/voice/mails/{id}",
31576 "title": "Deletes a Mail",
31579 "title": "Example usage:",
31580 "content": "curl https://{domain}/api/voice/mails/{id} -v -u {name}:{password} -X DELETE",
31584 "name": "DeleteMails",
31585 "group": "Voice_Mails",
31586 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31587 "version": "0.0.0",
31588 "filename": "server/api/voiceMail/index.js",
31589 "groupTitle": "Voice_Mails"
31593 "url": "/api/voice/mails",
31594 "title": "Gets a list of Mails",
31597 "title": "Example usage:",
31598 "content": "curl https://{domain}/api/voice/mails -v -u {name}:{password}",
31602 "name": "GetMails",
31603 "group": "Voice_Mails",
31604 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
31605 "version": "0.0.0",
31606 "filename": "server/api/voiceMail/index.js",
31607 "groupTitle": "Voice_Mails"
31611 "url": "/api/voice/mails/{id}",
31612 "title": "Gets a single Mail",
31615 "title": "Example usage:",
31616 "content": "curl https://{domain}/api/voice/mails/{id} -v -u {name}:{password}",
31620 "name": "ShowMails",
31621 "group": "Voice_Mails",
31622 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31623 "version": "0.0.0",
31624 "filename": "server/api/voiceMail/index.js",
31625 "groupTitle": "Voice_Mails"
31629 "url": "/api/voice/mails/{id}/messages",
31630 "title": "Gets voice mail messages",
31633 "title": "Example usage:",
31634 "content": "curl https://{domain}/api/voice/mails/{id}/messages -v -u {name}:{password} -X GET",
31638 "name": "getMessages",
31639 "group": "Voice_Mails",
31640 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31641 "version": "0.0.0",
31642 "filename": "server/api/voiceMail/index.js",
31643 "groupTitle": "Voice_Mails"
31647 "url": "/api/voice/mails/{id}",
31648 "title": "Update an existing Mail",
31651 "title": "Example usage:",
31652 "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",
31656 "name": "updateMails",
31657 "group": "Voice_Mails",
31658 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31659 "version": "0.0.0",
31660 "filename": "server/api/voiceMail/index.js",
31661 "groupTitle": "Voice_Mails"
31665 "url": "/api/voice/mails/messages",
31666 "title": "Creates a new Message",
31669 "title": "Example usage:",
31670 "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",
31674 "name": "CreateMessages",
31675 "group": "Voice_Messages",
31704 "field": "context",
31711 "field": "macrocontext",
31718 "field": "callerid",
31725 "field": "origtime",
31732 "field": "duration",
31739 "field": "mailboxuser",
31746 "field": "mailboxcontext",
31753 "field": "recording",
31780 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31781 "version": "0.0.0",
31782 "filename": "server/api/voiceMailMessage/index.js",
31783 "groupTitle": "Voice_Messages"
31787 "url": "/api/voice/mails/messages/{id}",
31788 "title": "Deletes a Message",
31791 "title": "Example usage:",
31792 "content": "curl https://{domain}/api/voice/mails/messages/{id} -v -u {name}:{password} -X DELETE",
31796 "name": "DeleteMessages",
31797 "group": "Voice_Messages",
31798 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31799 "version": "0.0.0",
31800 "filename": "server/api/voiceMailMessage/index.js",
31801 "groupTitle": "Voice_Messages"
31805 "url": "/api/voice/mails/messages",
31806 "title": "Gets a list of Messages",
31809 "title": "Example usage:",
31810 "content": "curl https://{domain}/api/voice/mails/messages -v -u {name}:{password}",
31814 "name": "GetMessages",
31815 "group": "Voice_Messages",
31816 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
31817 "version": "0.0.0",
31818 "filename": "server/api/voiceMailMessage/index.js",
31819 "groupTitle": "Voice_Messages"
31823 "url": "/api/voice/mails/messages/{id}",
31824 "title": "Gets a single Message",
31827 "title": "Example usage:",
31828 "content": "curl https://{domain}/api/voice/mails/messages/{id} -v -u {name}:{password}",
31832 "name": "ShowMessages",
31833 "group": "Voice_Messages",
31834 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31835 "version": "0.0.0",
31836 "filename": "server/api/voiceMailMessage/index.js",
31837 "groupTitle": "Voice_Messages"
31841 "url": "voice/mails/messages/{id}/download",
31842 "title": "Download Voice Message",
31845 "title": "Example usage:",
31846 "content": "curl https://{domain}voice/mails/messages/{id}/download -v -u {name}:{password} -X GET",
31850 "name": "download",
31851 "group": "Voice_Messages",
31852 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31853 "version": "0.0.0",
31854 "filename": "server/api/voiceMailMessage/index.js",
31855 "groupTitle": "Voice_Messages"
31859 "url": "/api/voice/mails/messages/{id}",
31860 "title": "Update an existing Message",
31863 "title": "Example usage:",
31864 "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",
31868 "name": "updateMessages",
31869 "group": "Voice_Messages",
31870 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31871 "version": "0.0.0",
31872 "filename": "server/api/voiceMailMessage/index.js",
31873 "groupTitle": "Voice_Messages"
31877 "url": "/api/voice/prefixes/{id}/users",
31878 "title": "Add agents to a prefix",
31881 "title": "Example usage:",
31882 "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",
31886 "name": "AddAgents",
31887 "group": "Voice_Prefixes",
31888 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31889 "version": "0.0.0",
31890 "filename": "server/api/voicePrefix/index.js",
31891 "groupTitle": "Voice_Prefixes"
31895 "url": "/api/voice/prefixes/{id}",
31896 "title": "Deletes a Prefix",
31899 "title": "Example usage:",
31900 "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password} -X DELETE",
31904 "name": "DeletePrefixes",
31905 "group": "Voice_Prefixes",
31906 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31907 "version": "0.0.0",
31908 "filename": "server/api/voicePrefix/index.js",
31909 "groupTitle": "Voice_Prefixes"
31913 "url": "/api/voice/prefixes/describe",
31914 "title": "Gets table info about Prefixes",
31917 "title": "Example usage:",
31918 "content": "curl https://{domain}/api/voice/prefixes/describe -v -u {name}:{password}",
31922 "name": "DescribePrefixes",
31923 "group": "Voice_Prefixes",
31924 "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>",
31925 "version": "0.0.0",
31926 "filename": "server/api/voicePrefix/index.js",
31927 "groupTitle": "Voice_Prefixes"
31931 "url": "/api/voice/prefixes/{id}/users",
31932 "title": "Gets agents from prefix",
31935 "title": "Example usage:",
31936 "content": "curl https://{domain}/api/voice/prefixes/{id}/users -v -u {name}:{password} -X GET",
31940 "name": "GetAgents",
31941 "group": "Voice_Prefixes",
31942 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31943 "version": "0.0.0",
31944 "filename": "server/api/voicePrefix/index.js",
31945 "groupTitle": "Voice_Prefixes"
31949 "url": "/api/voice/prefixes",
31950 "title": "Gets a list of Prefixes",
31953 "title": "Example usage:",
31954 "content": "curl https://{domain}/api/voice/prefixes -v -u {name}:{password}",
31958 "name": "GetPrefixes",
31959 "group": "Voice_Prefixes",
31960 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
31961 "version": "0.0.0",
31962 "filename": "server/api/voicePrefix/index.js",
31963 "groupTitle": "Voice_Prefixes"
31967 "url": "/api/voice/prefixes/{id}/users",
31968 "title": "Removes agents from a prefix",
31971 "title": "Example usage:",
31972 "content": "curl https://{domain}/api/voice/prefixes/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
31976 "name": "RemoveAgents",
31977 "group": "Voice_Prefixes",
31978 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31979 "version": "0.0.0",
31980 "filename": "server/api/voicePrefix/index.js",
31981 "groupTitle": "Voice_Prefixes"
31985 "url": "/api/voice/prefixes/{id}",
31986 "title": "Gets a single Prefix",
31989 "title": "Example usage:",
31990 "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password}",
31994 "name": "ShowPrefixes",
31995 "group": "Voice_Prefixes",
31996 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31997 "version": "0.0.0",
31998 "filename": "server/api/voicePrefix/index.js",
31999 "groupTitle": "Voice_Prefixes"
32003 "url": "/api/voice/prefixes/{id}",
32004 "title": "Update an existing prefix",
32007 "title": "Example usage:",
32008 "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password} -X PUT",
32013 "group": "Voice_Prefixes",
32014 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32015 "version": "0.0.0",
32016 "filename": "server/api/voicePrefix/index.js",
32017 "groupTitle": "Voice_Prefixes"
32021 "url": "/api/voice/prefixes",
32022 "title": "Create a prefix",
32025 "title": "Example usage:",
32026 "content": "curl https://{domain}/api/voice/prefixes -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
32031 "group": "Voice_Prefixes",
32032 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32033 "version": "0.0.0",
32034 "filename": "server/api/voicePrefix/index.js",
32035 "groupTitle": "Voice_Prefixes"
32039 "url": "/api/voice/queues/reports/describe",
32040 "title": "Gets table info about Queue Reports",
32043 "title": "Example usage:",
32044 "content": "curl https://{domain}/api/voice/queues/reports/describe -v -u {name}:{password}",
32048 "name": "DescribeQueue_Reports",
32049 "group": "Voice_Queue_Reports",
32050 "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>",
32051 "version": "0.0.0",
32052 "filename": "server/api/voiceQueueReport/index.js",
32053 "groupTitle": "Voice_Queue_Reports"
32057 "url": "/api/voice/queues/reports",
32058 "title": "Gets a list of Queue Reports",
32061 "title": "Example usage:",
32062 "content": "curl https://{domain}/api/voice/queues/reports -v -u {name}:{password}",
32066 "name": "GetQueue_Reports",
32067 "group": "Voice_Queue_Reports",
32068 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
32069 "version": "0.0.0",
32070 "filename": "server/api/voiceQueueReport/index.js",
32071 "groupTitle": "Voice_Queue_Reports"
32075 "url": "/api/voice/queues/reports/{id}",
32076 "title": "Gets a single Queue Report",
32079 "title": "Example usage:",
32080 "content": "curl https://{domain}/api/voice/queues/reports/{id} -v -u {name}:{password}",
32084 "name": "ShowQueue_Reports",
32085 "group": "Voice_Queue_Reports",
32086 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32087 "version": "0.0.0",
32088 "filename": "server/api/voiceQueueReport/index.js",
32089 "groupTitle": "Voice_Queue_Reports"
32093 "url": "/api/voice/queues/reports/index",
32094 "title": "Get Voice Queues Report",
32097 "title": "Example usage:",
32098 "content": "curl https://{domain}/api/voice/queues/reports/index -v -u {name}:{password} -X GET",
32102 "name": "getVoiceQueuesReport",
32103 "group": "Voice_Queue_Reports",
32104 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32105 "version": "0.0.0",
32106 "filename": "server/api/voiceQueueReport/index.js",
32107 "groupTitle": "Voice_Queue_Reports"
32111 "url": "/api/voice/queues/{id}/users",
32112 "title": "Add agents to queue",
32115 "title": "Example usage:",
32116 "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",
32120 "name": "AddAgents",
32121 "group": "Voice_Queues",
32122 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32123 "version": "0.0.0",
32124 "filename": "server/api/voiceQueue/index.js",
32125 "groupTitle": "Voice_Queues"
32129 "url": "/api/voice/queues/{id}/blacklists",
32130 "title": "Add blacklists to a queue",
32133 "title": "Example usage:",
32134 "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",
32138 "name": "AddBlackLists",
32139 "group": "Voice_Queues",
32140 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32141 "version": "0.0.0",
32142 "filename": "server/api/voiceQueue/index.js",
32143 "groupTitle": "Voice_Queues"
32147 "url": "/api/voice/queues/{id}/lists",
32148 "title": "Add lists to a queue",
32151 "title": "Example usage:",
32152 "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",
32156 "name": "AddLists",
32157 "group": "Voice_Queues",
32158 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32159 "version": "0.0.0",
32160 "filename": "server/api/voiceQueue/index.js",
32161 "groupTitle": "Voice_Queues"
32165 "url": "/api/voice/queues/{id}/teams",
32166 "title": "Add teams to queue",
32169 "title": "Example usage:",
32170 "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",
32174 "name": "AddTeams",
32175 "group": "Voice_Queues",
32176 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32177 "version": "0.0.0",
32178 "filename": "server/api/voiceQueue/index.js",
32179 "groupTitle": "Voice_Queues"
32183 "url": "/api/voice/queues/clone",
32184 "title": "Clone an existing Queue",
32187 "title": "Example usage:",
32188 "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",
32192 "name": "CloneQueues",
32193 "group": "Voice_Queues",
32194 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32195 "version": "0.0.0",
32196 "filename": "server/api/voiceQueue/index.js",
32197 "groupTitle": "Voice_Queues"
32201 "url": "/api/voice/queues",
32202 "title": "Creates a new Queue",
32205 "title": "Example usage:",
32206 "content": "curl https://{domain}/api/voice/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
32210 "name": "CreateQueues",
32211 "group": "Voice_Queues",
32237 "field": "musiconhold",
32244 "field": "announce",
32262 "field": "strategy",
32269 "field": "servicelevel",
32276 "field": "context",
32283 "field": "penaltymemberslimit",
32290 "field": "timeout",
32304 "field": "timeoutpriority",
32318 "field": "wrapuptime",
32329 "field": "autofill",
32341 "field": "autopause",
32348 "field": "autopausedelay",
32359 "field": "autopausebusy",
32370 "field": "autopauseunavail",
32388 "field": "setinterfacevar",
32399 "field": "setqueueentryvar",
32410 "field": "setqueuevar",
32421 "field": "eventmemberstatus",
32428 "field": "membermacro",
32435 "field": "membergosub",
32442 "field": "announce_frequency",
32449 "field": "min_announce_frequency",
32456 "field": "periodic_announce_frequency",
32467 "field": "random_periodic_announce",
32478 "field": "relative_periodic_announce",
32490 "field": "announce_holdtime",
32497 "field": "announce_position",
32508 "field": "announce_to_first_user",
32515 "field": "announce_position_limit",
32530 "field": "announce_round_seconds",
32537 "field": "monitor_format",
32544 "field": "monitor_type",
32551 "field": "queue_youarenext",
32558 "field": "queue_thereare",
32565 "field": "queue_callswaiting",
32572 "field": "queue_holdtime",
32579 "field": "queue_minute",
32586 "field": "queue_minutes",
32593 "field": "queue_seconds",
32600 "field": "queue_thankyou",
32607 "field": "queue_reporthold",
32614 "field": "queue_quantity1",
32621 "field": "queue_quantity2",
32628 "field": "queue_periodic_announce",
32635 "field": "queue_less_than",
32642 "field": "periodic_announce",
32649 "field": "joinempty",
32656 "field": "leavewhenempty",
32667 "field": "reportholdtime",
32678 "field": "ringinuse",
32685 "field": "memberdelay",
32696 "field": "timeoutrestart",
32703 "field": "defaultrule",
32710 "field": "description",
32724 "field": "acwTimeout",
32731 "field": "dialActive",
32732 "description": "<p>Active/Disactive Campaign</p>"
32745 "field": "dialMethod",
32746 "description": "<p>Dial Method.</p>"
32752 "field": "dialLimitChannel",
32753 "description": "<p>Max 9999 channels, 0 means unlimited.</p>"
32759 "field": "dialLimitQueue",
32760 "description": "<p>Max 9999 member in queue(min:1, max:9999), 0 means unlimited.</p>"
32766 "field": "dialPowerLevel",
32767 "description": "<p>Power Level: Calls for agents (min:1, max:10).</p>"
32773 "\"agentBusyFactor\"",
32777 "field": "dialPredictiveOptimization",
32778 "description": "<p>Only for predictive method.</p>"
32784 "field": "dialPredictiveOptimizationPercentage",
32785 "description": "<p>Predictive Optimization Percentage (min: 1, max: 95)</p>"
32791 "field": "dialPredictiveInterval",
32792 "description": "<p>Interval Predictive Minutes (min:5 max:30)</p>"
32798 "field": "dialOriginateCallerIdName",
32805 "field": "dialOriginateCallerIdNumber",
32812 "field": "dialOriginateTimeout",
32813 "description": "<p>Originate Timeout Seconds (min:1, max:999)</p>"
32819 "field": "dialQueueOptions",
32820 "description": "<p>https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Queue</p>"
32826 "field": "dialQueueTimeout",
32827 "description": "<p>Queue Timeout Seconds (min:1, max:999)</p>"
32833 "field": "dialQueueProject",
32834 "description": "<p>AGI queue option (use: agi://127.0.0.1/square,<project_name>)</p>"
32840 "field": "dialCongestionMaxRetry",
32841 "description": "<p>#Congestion Retry (min:1, max:999)</p>"
32847 "field": "dialCongestionRetryFrequency",
32848 "description": "<p>Congestion Retry Frequency Minutes (min:1, max:99999)</p>"
32854 "field": "dialBusyMaxRetry",
32855 "description": "<p>#Busy Retry (min:1, max:999)</p>"
32861 "field": "dialBusyRetryFrequency",
32862 "description": "<p>Busy Retry Frequency Minutes (min:1, max:99999)</p>"
32868 "field": "dialNoAnswerMaxRetry",
32869 "description": "<p>#NoAnswer Retry (min:1, max:999)</p>"
32875 "field": "dialNoAnswerRetryFrequency",
32876 "description": "<p>NoAnswer Retry Frequency Minutes (min:1, max:99999)</p>"
32882 "field": "dialGlobalMaxRetry",
32883 "description": "<p>#Global Max Retry (min:1, max:999)</p>"
32889 "field": "dialTimezone",
32896 "field": "dialGlobalInterval",
32903 "field": "dialPrefix",
32915 "field": "dialCheckDuplicateType",
32922 "field": "dialAMDActive",
32923 "description": "<p>Active/Disactive AMD</p>"
32929 "field": "dialAMDInitialSilence",
32930 "description": "<p>#AMD Initial Silence</p>"
32936 "field": "dialAMDGreeting",
32937 "description": "<p>#AMD Greeting</p>"
32943 "field": "dialAMDAfterGreetingSilence",
32944 "description": "<p>#AMD After Greeting Silence</p>"
32950 "field": "dialAMDTotalAnalysisTime",
32951 "description": "<p>#AMD Total Analysis Time</p>"
32957 "field": "dialAMDMinWordLength",
32958 "description": "<p>#AMD Min Word Length</p>"
32964 "field": "dialAMDBetweenWordsSilence",
32965 "description": "<p>#AMD Between Words Silence</p>"
32971 "field": "dialAMDMaximumNumberOfWords",
32972 "description": "<p>#AMD Maximum Number Of Words</p>"
32978 "field": "dialAMDSilenceThreshold",
32979 "description": "<p>#AMD Silence Threshold (min:0, max:32767)</p>"
32985 "field": "dialAMDMaximumWordLength",
32986 "description": "<p>#AMD Maximum Word Length</p>"
32992 "field": "dialRecallMeTimeout",
32993 "description": "<p>#RecallMe Timeout (min:1)</p>"
32999 "field": "dialRecallInQueue",
33000 "description": "<p>Active/Disactive Recall In Queue</p>"
33010 "field": "dialOrderByScheduledAt",
33017 "field": "dialQueueProject2",
33018 "description": "<p>AGI queue option (use: agi://127.0.0.1/square,<project_name>)</p>"
33024 "field": "dialAgiAfterHangupClient",
33031 "field": "dialAgiAfterHangupAgent",
33038 "field": "dialRandomLastDigitCallerIdNumber",
33039 "description": "<p>Random Last Digit (min:1, max:15)</p>"
33045 "field": "dialCutDigit",
33046 "description": "<p>Cut Digit (min:1, max:15)</p>"
33052 "field": "dialNoSuchNumberMaxRetry",
33053 "description": "<p>#NoSuchNumber Retry (min:1, max:999)</p>"
33059 "field": "dialNoSuchNumberRetryFrequency",
33060 "description": "<p>NoSuchNumber Retry Frequency Minutes (min:1, max:99999)</p>"
33066 "field": "dialDropMaxRetry",
33067 "description": "<p>#Drop Retry (min:1, max:999)</p>"
33073 "field": "dialDropRetryFrequency",
33074 "description": "<p>Drop Retry Frequency Minutes (min:1, max:99999)</p>"
33080 "field": "dialAbandonedMaxRetry",
33081 "description": "<p>#Abandoned Retry (min:1, max:999)</p>"
33087 "field": "dialAbandonedRetryFrequency",
33088 "description": "<p>Abandoned Retry Frequency Minutes (min:1, max:99999)</p>"
33094 "field": "dialMachineMaxRetry",
33095 "description": "<p>#Machine Retry (min:1, max:999)</p>"
33101 "field": "dialMachineRetryFrequency",
33102 "description": "<p>Machine Retry Frequency Minutes (min:1, max:99999)</p>"
33108 "field": "dialAgentRejectMaxRetry",
33109 "description": "<p>#AgentReject Retry (min:1, max:999)</p>"
33115 "field": "dialAgentRejectRetryFrequency",
33116 "description": "<p>AgentReject Retry Frequency Minutes (min:1, max:99999)</p>"
33122 "field": "mandatoryDispositionPauseId",
33123 "description": "<p>Status to put when mandatory disposition is enabled</p>"
33129 "field": "mandatoryDisposition",
33130 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
33136 "field": "dialPredictiveIntervalMaxThreshold",
33143 "field": "dialPredictiveIntervalMinThreshold",
33149 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33150 "version": "0.0.0",
33151 "filename": "server/api/voiceQueue/index.js",
33152 "groupTitle": "Voice_Queues"
33156 "url": "/api/voice/queues/{id}",
33157 "title": "Deletes a Queue",
33160 "title": "Example usage:",
33161 "content": "curl https://{domain}/api/voice/queues/{id} -v -u {name}:{password} -X DELETE",
33165 "name": "DeleteQueues",
33166 "group": "Voice_Queues",
33167 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33168 "version": "0.0.0",
33169 "filename": "server/api/voiceQueue/index.js",
33170 "groupTitle": "Voice_Queues"
33174 "url": "/api/voice/queues/{id}/users",
33175 "title": "Gets queue agents",
33178 "title": "Example usage:",
33179 "content": "curl https://{domain}/api/voice/queues/{id}/users -v -u {name}:{password} -X GET",
33183 "name": "GetAgents",
33184 "group": "Voice_Queues",
33185 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33186 "version": "0.0.0",
33187 "filename": "server/api/voiceQueue/index.js",
33188 "groupTitle": "Voice_Queues"
33192 "url": "/api/voice/queues/{id}/blacklists",
33193 "title": "Get queue blacklists",
33196 "title": "Example usage:",
33197 "content": "curl https://{domain}/api/voice/queues/{id}/blacklists -v -u {name}:{password} -X GET",
33201 "name": "GetBlackLists",
33202 "group": "Voice_Queues",
33203 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33204 "version": "0.0.0",
33205 "filename": "server/api/voiceQueue/index.js",
33206 "groupTitle": "Voice_Queues"
33210 "url": "/api/voice/queues/{id}/finals",
33211 "title": "Gets queue hopper finals",
33214 "title": "Example usage:",
33215 "content": "curl https://{domain}/api/voice/queues/{id}/hopper_finals -v -u {name}:{password} -X GET",
33219 "name": "GetHopperFinals",
33220 "group": "Voice_Queues",
33221 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33222 "version": "0.0.0",
33223 "filename": "server/api/voiceQueue/index.js",
33224 "groupTitle": "Voice_Queues"
33228 "url": "/api/voice/queues/{id}/hopper_histories",
33229 "title": "Gets queue hopper histories",
33232 "title": "Example usage:",
33233 "content": "curl https://{domain}/api/voice/queues/{id}/hopper_histories -v -u {name}:{password} -X GET",
33237 "name": "GetHopperHistories",
33238 "group": "Voice_Queues",
33239 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33240 "version": "0.0.0",
33241 "filename": "server/api/voiceQueue/index.js",
33242 "groupTitle": "Voice_Queues"
33246 "url": "/api/voice/queues/{id}/hoppers",
33247 "title": "Gets queue hoppers",
33250 "title": "Example usage:",
33251 "content": "curl https://{domain}/api/voice/queues/{id}/hoppers -v -u {name}:{password} -X GET",
33255 "name": "GetHoppers",
33256 "group": "Voice_Queues",
33257 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33258 "version": "0.0.0",
33259 "filename": "server/api/voiceQueue/index.js",
33260 "groupTitle": "Voice_Queues"
33264 "url": "/api/voice/queues/{id}/lists",
33265 "title": "Get queue lists",
33268 "title": "Example usage:",
33269 "content": "curl https://{domain}/api/voice/queues/{id}/lists -v -u {name}:{password} -X GET",
33273 "name": "GetLists",
33274 "group": "Voice_Queues",
33275 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33276 "version": "0.0.0",
33277 "filename": "server/api/voiceQueue/index.js",
33278 "groupTitle": "Voice_Queues"
33282 "url": "/api/voice/queues/{id}/members",
33283 "title": "Gets queue members",
33286 "title": "Example usage:",
33287 "content": "curl https://{domain}/api/voice/queues/{id}/members -v -u {name}:{password} -X GET",
33291 "name": "GetMembers",
33292 "group": "Voice_Queues",
33293 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33294 "version": "0.0.0",
33295 "filename": "server/api/voiceQueue/index.js",
33296 "groupTitle": "Voice_Queues"
33300 "url": "/api/voice/queues",
33301 "title": "Gets a list of Queues",
33304 "title": "Example usage:",
33305 "content": "curl https://{domain}/api/voice/queues -v -u {name}:{password}",
33309 "name": "GetQueues",
33310 "group": "Voice_Queues",
33311 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
33312 "version": "0.0.0",
33313 "filename": "server/api/voiceQueue/index.js",
33314 "groupTitle": "Voice_Queues"
33318 "url": "/api/voice/queues/{id}/teams",
33319 "title": "Gets queue team",
33322 "title": "Example usage:",
33323 "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X GET",
33327 "name": "GetTeams",
33328 "group": "Voice_Queues",
33329 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33330 "version": "0.0.0",
33331 "filename": "server/api/voiceQueue/index.js",
33332 "groupTitle": "Voice_Queues"
33336 "url": "/api/voice/queues/{id}/users",
33337 "title": "Removes agents from a queue",
33340 "title": "Example usage:",
33341 "content": "curl https://{domain}/api/voice/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
33345 "name": "RemoveAgents",
33346 "group": "Voice_Queues",
33347 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33348 "version": "0.0.0",
33349 "filename": "server/api/voiceQueue/index.js",
33350 "groupTitle": "Voice_Queues"
33354 "url": "/api/voice/queues/{id}/blacklists",
33355 "title": "Remove blacklists from a queue",
33358 "title": "Example usage:",
33359 "content": "curl https://{domain}/api/voice/queues/{id}/blacklists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
33363 "name": "RemoveBlackLists",
33364 "group": "Voice_Queues",
33365 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33366 "version": "0.0.0",
33367 "filename": "server/api/voiceQueue/index.js",
33368 "groupTitle": "Voice_Queues"
33372 "url": "/api/voice/queues/{id}/lists",
33373 "title": "Remove lists from a queue",
33376 "title": "Example usage:",
33377 "content": "curl https://{domain}/api/voice/queues/{id}/lists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
33381 "name": "RemoveLists",
33382 "group": "Voice_Queues",
33383 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33384 "version": "0.0.0",
33385 "filename": "server/api/voiceQueue/index.js",
33386 "groupTitle": "Voice_Queues"
33390 "url": "/api/voice/queues/{id}",
33391 "title": "Gets a single Queue",
33394 "title": "Example usage:",
33395 "content": "curl https://{domain}/api/voice/queues/{id} -v -u {name}:{password}",
33399 "name": "ShowQueues",
33400 "group": "Voice_Queues",
33401 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33402 "version": "0.0.0",
33403 "filename": "server/api/voiceQueue/index.js",
33404 "groupTitle": "Voice_Queues"
33408 "url": "/api/voice/queues/{id}/blacks",
33409 "title": "Gets queue hopper blacks",
33412 "title": "Example usage:",
33413 "content": "curl https://{domain}/api/voice/queues/{id}/hopper_black -v -u {name}:{password} -X GET",
33417 "name": "getHopperBlacks",
33418 "group": "Voice_Queues",
33419 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33420 "version": "0.0.0",
33421 "filename": "server/api/voiceQueue/index.js",
33422 "groupTitle": "Voice_Queues"
33426 "url": "/api/voice/queues/{id}",
33427 "title": "Update an existing Queue",
33430 "title": "Example usage:",
33431 "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",
33435 "name": "updateQueues",
33436 "group": "Voice_Queues",
33437 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33438 "version": "0.0.0",
33439 "filename": "server/api/voiceQueue/index.js",
33440 "groupTitle": "Voice_Queues"
33444 "url": "/api/voice/recordings",
33445 "title": "Creates a new Recording",
33448 "title": "Example usage:",
33449 "content": "curl https://{domain}/api/voice/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
33453 "name": "CreateRecordings",
33454 "group": "Voice_Recordings",
33469 "field": "uniqueid",
33476 "field": "channel",
33483 "field": "membername",
33490 "field": "calleridnum",
33497 "field": "calleridname",
33504 "field": "connectedlinenum",
33511 "field": "connectedlinename",
33518 "field": "accountcode",
33525 "field": "context",
33567 "field": "userDisposition",
33574 "field": "userSecondDisposition",
33581 "field": "userThirdDisposition",
33588 "field": "location",
33595 "field": "transcribeName",
33602 "field": "transcribeStatus",
33609 "field": "fileUri",
33616 "field": "fileText",
33623 "field": "failureReason",
33630 "field": "sentiment",
33637 "field": "sPositive",
33644 "field": "sNegative",
33651 "field": "sNeutral",
33665 "field": "tempSentiment",
33672 "field": "createdAt",
33679 "field": "updatedAt",
33685 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33686 "version": "0.0.0",
33687 "filename": "server/api/voiceRecording/index.js",
33688 "groupTitle": "Voice_Recordings"
33692 "url": "/api/voice/recordings/describe",
33693 "title": "Gets table info about Recordings",
33696 "title": "Example usage:",
33697 "content": "curl https://{domain}/api/voice/recordings/describe -v -u {name}:{password}",
33701 "name": "DescribeRecordings",
33702 "group": "Voice_Recordings",
33703 "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>",
33704 "version": "0.0.0",
33705 "filename": "server/api/voiceRecording/index.js",
33706 "groupTitle": "Voice_Recordings"
33710 "url": "/api/voice/recordings",
33711 "title": "Gets a list of Recordings",
33714 "title": "Example usage:",
33715 "content": "curl https://{domain}/api/voice/recordings -v -u {name}:{password}",
33719 "name": "GetRecordings",
33720 "group": "Voice_Recordings",
33721 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
33722 "version": "0.0.0",
33723 "filename": "server/api/voiceRecording/index.js",
33724 "groupTitle": "Voice_Recordings"
33728 "url": "/api/voice/recordings/{id}",
33729 "title": "Gets a single Recording",
33732 "title": "Example usage:",
33733 "content": "curl https://{domain}/api/voice/recordings/{id} -v -u {name}:{password}",
33737 "name": "ShowRecordings",
33738 "group": "Voice_Recordings",
33739 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33740 "version": "0.0.0",
33741 "filename": "server/api/voiceRecording/index.js",
33742 "groupTitle": "Voice_Recordings"
33746 "url": "/api/voice/recordings/{id}",
33747 "title": "Delete voice recording",
33750 "title": "Example usage:",
33751 "content": "curl https://{domain}/api/voice/recordings/{id} -v -u {name}:{password} -X DELETE",
33756 "group": "Voice_Recordings",
33757 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33758 "version": "0.0.0",
33759 "filename": "server/api/voiceRecording/index.js",
33760 "groupTitle": "Voice_Recordings"
33764 "url": "/api/voice/recordings/{id}/download",
33765 "title": "Download Recording",
33768 "title": "Example usage:",
33769 "content": "curl https://{domain}/api/voice/recordings/{id}/download -v -u {name}:{password} -X GET",
33773 "name": "download",
33774 "group": "Voice_Recordings",
33775 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33776 "version": "0.0.0",
33777 "filename": "server/api/voiceRecording/index.js",
33778 "groupTitle": "Voice_Recordings"
33782 "url": "/api/voice/recordings/{id}/downloads",
33783 "title": "Download Recording",
33786 "title": "Example usage:",
33787 "content": "curl https://{domain}/api/voice/recordings/{id}/downloads -v -u {name}:{password} -X GET",
33791 "name": "downloads",
33792 "group": "Voice_Recordings",
33793 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33794 "version": "0.0.0",
33795 "filename": "server/api/voiceRecording/index.js",
33796 "groupTitle": "Voice_Recordings"
33800 "url": "/api/voice/recordings/{id}/transcribe",
33801 "title": "Run Transcribe Recording",
33804 "title": "Example usage:",
33805 "content": "curl https://{domain}/api/voice/recordings/{id}/transcribe -d '{\"runSentiment\": \"true\"}' -v -u {name}:{password} -X POST",
33809 "name": "transcribe",
33810 "group": "Voice_Recordings",
33811 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33812 "version": "0.0.0",
33813 "filename": "server/api/voiceRecording/index.js",
33814 "groupTitle": "Voice_Recordings"
33818 "url": "/api/voice/recordings/{id}/transcribe",
33819 "title": "Run Transcribe Recording",
33822 "title": "Example usage:",
33823 "content": "curl https://{domain}/api/voice/recordings/{id}/transcribe -v -u {name}:{password} -X GET",
33827 "name": "transcribe",
33828 "group": "Voice_Recordings",
33829 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33830 "version": "0.0.0",
33831 "filename": "server/api/voiceRecording/index.js",
33832 "groupTitle": "Voice_Recordings"
33836 "url": "/api/voice/recordings/{id}",
33837 "title": "Update an existing Recording",
33840 "title": "Example usage:",
33841 "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",
33845 "name": "updateRecordings",
33846 "group": "Voice_Recordings",
33847 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33848 "version": "0.0.0",
33849 "filename": "server/api/voiceRecording/index.js",
33850 "groupTitle": "Voice_Recordings"
33854 "url": "/api/voice/transfers/reports",
33855 "title": "Creates a new Transfer Report",
33858 "title": "Example usage:",
33859 "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",
33863 "name": "CreateTransfer_Reports",
33864 "group": "Voice_Transfer_Reports",
33890 "field": "transfererchannel",
33897 "field": "transferercalleridnum",
33904 "field": "transferercalleridname",
33911 "field": "transfererconnectedlinenum",
33918 "field": "transfererconnectedlinename",
33925 "field": "transfereraccountcode",
33932 "field": "transferercontext",
33939 "field": "transfererexten",
33946 "field": "transfererlinkedid",
33953 "field": "transfereechannel",
33960 "field": "transfereecalleridnum",
33967 "field": "transfereecalleridname",
33974 "field": "transfereeconnectedlinenum",
33981 "field": "transfereeconnectedlinename",
33988 "field": "transfereeaccountcode",
33995 "field": "transfereecontext",
34002 "field": "transfereeexten",
34009 "field": "transfereelinkedid",
34020 "field": "isexternal",
34027 "field": "context",
34034 "field": "extension",
34040 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34041 "version": "0.0.0",
34042 "filename": "server/api/voiceTransferReport/index.js",
34043 "groupTitle": "Voice_Transfer_Reports"
34047 "url": "/api/voice/transfers/reports/{id}",
34048 "title": "Deletes a Transfer Report",
34051 "title": "Example usage:",
34052 "content": "curl https://{domain}/api/voice/transfers/reports/{id} -v -u {name}:{password} -X DELETE",
34056 "name": "DeleteTransfer_Reports",
34057 "group": "Voice_Transfer_Reports",
34058 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34059 "version": "0.0.0",
34060 "filename": "server/api/voiceTransferReport/index.js",
34061 "groupTitle": "Voice_Transfer_Reports"
34065 "url": "/api/voice/transfers/reports/describe",
34066 "title": "Gets table info about Transfer Reports",
34069 "title": "Example usage:",
34070 "content": "curl https://{domain}/api/voice/transfers/reports/describe -v -u {name}:{password}",
34074 "name": "DescribeTransfer_Reports",
34075 "group": "Voice_Transfer_Reports",
34076 "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>",
34077 "version": "0.0.0",
34078 "filename": "server/api/voiceTransferReport/index.js",
34079 "groupTitle": "Voice_Transfer_Reports"
34083 "url": "/api/voice/transfers/reports",
34084 "title": "Gets a list of Transfer Reports",
34087 "title": "Example usage:",
34088 "content": "curl https://{domain}/api/voice/transfers/reports -v -u {name}:{password}",
34092 "name": "GetTransfer_Reports",
34093 "group": "Voice_Transfer_Reports",
34094 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
34095 "version": "0.0.0",
34096 "filename": "server/api/voiceTransferReport/index.js",
34097 "groupTitle": "Voice_Transfer_Reports"
34101 "url": "/api/voice/transfers/reports/{id}",
34102 "title": "Gets a single Transfer Report",
34105 "title": "Example usage:",
34106 "content": "curl https://{domain}/api/voice/transfers/reports/{id} -v -u {name}:{password}",
34110 "name": "ShowTransfer_Reports",
34111 "group": "Voice_Transfer_Reports",
34112 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34113 "version": "0.0.0",
34114 "filename": "server/api/voiceTransferReport/index.js",
34115 "groupTitle": "Voice_Transfer_Reports"
34119 "url": "/api/voice/transfers/reports/{id}",
34120 "title": "Update an existing Transfer Report",
34123 "title": "Example usage:",
34124 "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",
34128 "name": "updateTransfer_Reports",
34129 "group": "Voice_Transfer_Reports",
34130 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34131 "version": "0.0.0",
34132 "filename": "server/api/voiceTransferReport/index.js",
34133 "groupTitle": "Voice_Transfer_Reports"
34137 "url": "/api/integrations/vtiger/accounts",
34138 "title": "Creates a new Vtiger Account",
34141 "title": "Example usage:",
34142 "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",
34146 "name": "CreateVtiger_Accounts",
34147 "group": "Vtiger_Accounts",
34162 "field": "description",
34169 "field": "username",
34176 "field": "moduleName",
34183 "field": "remoteUri",
34190 "field": "serverUrl",
34197 "field": "accessKey",
34203 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34204 "version": "0.0.0",
34205 "filename": "server/api/intVtigerAccount/index.js",
34206 "groupTitle": "Vtiger_Accounts"
34210 "url": "/api/integrations/vtiger/accounts/{id}",
34211 "title": "Deletes a Vtiger Account",
34214 "title": "Example usage:",
34215 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id} -v -u {name}:{password} -X DELETE",
34219 "name": "DeleteVtiger_Accounts",
34220 "group": "Vtiger_Accounts",
34221 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34222 "version": "0.0.0",
34223 "filename": "server/api/intVtigerAccount/index.js",
34224 "groupTitle": "Vtiger_Accounts"
34228 "url": "/api/integrations/vtiger/accounts",
34229 "title": "Gets a list of Vtiger Accounts",
34232 "title": "Example usage:",
34233 "content": "curl https://{domain}/api/integrations/vtiger/accounts -v -u {name}:{password}",
34237 "name": "GetVtiger_Accounts",
34238 "group": "Vtiger_Accounts",
34239 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
34240 "version": "0.0.0",
34241 "filename": "server/api/intVtigerAccount/index.js",
34242 "groupTitle": "Vtiger_Accounts"
34246 "url": "/api/integrations/vtiger/accounts/{id}",
34247 "title": "Gets a single Vtiger Account",
34250 "title": "Example usage:",
34251 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id} -v -u {name}:{password}",
34255 "name": "ShowVtiger_Accounts",
34256 "group": "Vtiger_Accounts",
34257 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34258 "version": "0.0.0",
34259 "filename": "server/api/intVtigerAccount/index.js",
34260 "groupTitle": "Vtiger_Accounts"
34264 "url": "/api/integrations/vtiger/accounts/{id}/configurations",
34265 "title": "Creates new configuration",
34268 "title": "Example usage:",
34269 "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",
34273 "name": "addConfiguration",
34274 "group": "Vtiger_Accounts",
34275 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34276 "version": "0.0.0",
34277 "filename": "server/api/intVtigerAccount/index.js",
34278 "groupTitle": "Vtiger_Accounts"
34282 "url": "/api/integrations/vtiger/accounts/{id}/configurations",
34283 "title": "Gets account configurations",
34286 "title": "Example usage:",
34287 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id}/configurations -v -u {name}:{password} -X GET",
34291 "name": "getConfigurations",
34292 "group": "Vtiger_Accounts",
34293 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34294 "version": "0.0.0",
34295 "filename": "server/api/intVtigerAccount/index.js",
34296 "groupTitle": "Vtiger_Accounts"
34300 "url": "/api/integrations/vtiger/accounts/{id}/fields",
34301 "title": "Gets account fields",
34304 "title": "Example usage:",
34305 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id}/fields -v -u {name}:{password} -X GET",
34309 "name": "getFields",
34310 "group": "Vtiger_Accounts",
34311 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34312 "version": "0.0.0",
34313 "filename": "server/api/intVtigerAccount/index.js",
34314 "groupTitle": "Vtiger_Accounts"
34318 "url": "/api/integrations/vtiger/accounts/{id}",
34319 "title": "Update an existing Vtiger Account",
34322 "title": "Example usage:",
34323 "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",
34327 "name": "updateVtiger_Accounts",
34328 "group": "Vtiger_Accounts",
34329 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34330 "version": "0.0.0",
34331 "filename": "server/api/intVtigerAccount/index.js",
34332 "groupTitle": "Vtiger_Accounts"
34336 "url": "/api/integrations/vtiger/configurations",
34337 "title": "Creates a new Vtiger Configuration",
34340 "title": "Example usage:",
34341 "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",
34345 "name": "CreateVtiger_Configurations",
34346 "group": "Vtiger_Configurations",
34361 "field": "description",
34367 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34368 "version": "0.0.0",
34369 "filename": "server/api/intVtigerConfiguration/index.js",
34370 "groupTitle": "Vtiger_Configurations"
34374 "url": "/api/integrations/vtiger/configurations/{id}",
34375 "title": "Deletes a Vtiger Configuration",
34378 "title": "Example usage:",
34379 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id} -v -u {name}:{password} -X DELETE",
34383 "name": "DeleteVtiger_Configurations",
34384 "group": "Vtiger_Configurations",
34385 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34386 "version": "0.0.0",
34387 "filename": "server/api/intVtigerConfiguration/index.js",
34388 "groupTitle": "Vtiger_Configurations"
34392 "url": "/api/integrations/vtiger/configurations",
34393 "title": "Gets a list of Vtiger Configurations",
34396 "title": "Example usage:",
34397 "content": "curl https://{domain}/api/integrations/vtiger/configurations -v -u {name}:{password}",
34401 "name": "GetVtiger_Configurations",
34402 "group": "Vtiger_Configurations",
34403 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
34404 "version": "0.0.0",
34405 "filename": "server/api/intVtigerConfiguration/index.js",
34406 "groupTitle": "Vtiger_Configurations"
34410 "url": "/api/integrations/vtiger/configurations/{id}",
34411 "title": "Gets a single Vtiger Configuration",
34414 "title": "Example usage:",
34415 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id} -v -u {name}:{password}",
34419 "name": "ShowVtiger_Configurations",
34420 "group": "Vtiger_Configurations",
34421 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34422 "version": "0.0.0",
34423 "filename": "server/api/intVtigerConfiguration/index.js",
34424 "groupTitle": "Vtiger_Configurations"
34428 "url": "/api/integrations/vtiger/configurations/{id}/descriptions",
34429 "title": "Gets configurations descriptions",
34432 "title": "Example usage:",
34433 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
34437 "name": "getDescriptions",
34438 "group": "Vtiger_Configurations",
34439 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34440 "version": "0.0.0",
34441 "filename": "server/api/intVtigerConfiguration/index.js",
34442 "groupTitle": "Vtiger_Configurations"
34446 "url": "/api/integrations/vtiger/configurations/{id}/fields",
34447 "title": "Gets configurations fields",
34450 "title": "Example usage:",
34451 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/fields -v -u {name}:{password} -X GET",
34455 "name": "getFields",
34456 "group": "Vtiger_Configurations",
34457 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34458 "version": "0.0.0",
34459 "filename": "server/api/intVtigerConfiguration/index.js",
34460 "groupTitle": "Vtiger_Configurations"
34464 "url": "/api/integrations/vtiger/configurations/{id}/subjects",
34465 "title": "Gets configurations subjects",
34468 "title": "Example usage:",
34469 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/subjects -v -u {name}:{password} -X GET",
34473 "name": "getSubjects",
34474 "group": "Vtiger_Configurations",
34475 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34476 "version": "0.0.0",
34477 "filename": "server/api/intVtigerConfiguration/index.js",
34478 "groupTitle": "Vtiger_Configurations"
34482 "url": "/api/integrations/vtiger/configurations/{id}",
34483 "title": "Update an existing Vtiger Configuration",
34486 "title": "Example usage:",
34487 "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",
34491 "name": "updateVtiger_Configurations",
34492 "group": "Vtiger_Configurations",
34493 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34494 "version": "0.0.0",
34495 "filename": "server/api/intVtigerConfiguration/index.js",
34496 "groupTitle": "Vtiger_Configurations"
34500 "url": "/api/integrations/vtiger/fields",
34501 "title": "Creates a new Vtiger Field",
34504 "title": "Example usage:",
34505 "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",
34509 "name": "CreateVtiger_Fields",
34510 "group": "Vtiger_Fields",
34520 "\"customVariable\"",
34532 "field": "content",
34548 "\"customVariable\""
34551 "field": "keyType",
34558 "field": "keyContent",
34565 "field": "idField",
34572 "field": "nameField",
34579 "field": "customField",
34586 "field": "variableName",
34592 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34593 "version": "0.0.0",
34594 "filename": "server/api/intVtigerField/index.js",
34595 "groupTitle": "Vtiger_Fields"
34599 "url": "/api/integrations/vtiger/fields/{id}",
34600 "title": "Deletes a Vtiger Field",
34603 "title": "Example usage:",
34604 "content": "curl https://{domain}/api/integrations/vtiger/fields/{id} -v -u {name}:{password} -X DELETE",
34608 "name": "DeleteVtiger_Fields",
34609 "group": "Vtiger_Fields",
34610 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34611 "version": "0.0.0",
34612 "filename": "server/api/intVtigerField/index.js",
34613 "groupTitle": "Vtiger_Fields"
34617 "url": "/api/integrations/vtiger/fields",
34618 "title": "Gets a list of Vtiger Fields",
34621 "title": "Example usage:",
34622 "content": "curl https://{domain}/api/integrations/vtiger/fields -v -u {name}:{password}",
34626 "name": "GetVtiger_Fields",
34627 "group": "Vtiger_Fields",
34628 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
34629 "version": "0.0.0",
34630 "filename": "server/api/intVtigerField/index.js",
34631 "groupTitle": "Vtiger_Fields"
34635 "url": "/api/integrations/vtiger/fields/{id}",
34636 "title": "Gets a single Vtiger Field",
34639 "title": "Example usage:",
34640 "content": "curl https://{domain}/api/integrations/vtiger/fields/{id} -v -u {name}:{password}",
34644 "name": "ShowVtiger_Fields",
34645 "group": "Vtiger_Fields",
34646 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34647 "version": "0.0.0",
34648 "filename": "server/api/intVtigerField/index.js",
34649 "groupTitle": "Vtiger_Fields"
34653 "url": "/api/integrations/vtiger/fields/{id}",
34654 "title": "Update an existing Vtiger Field",
34657 "title": "Example usage:",
34658 "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",
34662 "name": "updateVtiger_Fields",
34663 "group": "Vtiger_Fields",
34664 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34665 "version": "0.0.0",
34666 "filename": "server/api/intVtigerField/index.js",
34667 "groupTitle": "Vtiger_Fields"
34671 "url": "/api/webbar/answer",
34672 "title": "answer webrtc call",
34675 "title": "Example usage:",
34676 "content": "curl https://{domain}/api/webbar/answer -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34680 "name": "Web_Bar_answer",
34689 "field": "sessionId",
34702 "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>",
34703 "version": "0.0.0",
34704 "filename": "server/api/webbar/index.js",
34705 "groupTitle": "WebBar"
34709 "url": "/api/webbar/calls",
34710 "title": "webrtc call list",
34713 "title": "Example usage:",
34714 "content": "curl https://{domain}/api/webbar/calls -d '{\"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34718 "name": "Web_Bar_calls",
34733 "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>",
34734 "version": "0.0.0",
34735 "filename": "server/api/webbar/index.js",
34736 "groupTitle": "WebBar"
34740 "url": "/api/webbar/hangup",
34741 "title": "hangup webrtc call",
34744 "title": "Example usage:",
34745 "content": "curl https://{domain}/api/webbar/hangup -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34749 "name": "Web_Bar_hangup",
34758 "field": "sessionId",
34771 "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>",
34772 "version": "0.0.0",
34773 "filename": "server/api/webbar/index.js",
34774 "groupTitle": "WebBar"
34778 "url": "/api/webbar/hold",
34779 "title": "hold webrtc call",
34782 "title": "Example usage:",
34783 "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34787 "name": "Web_Bar_hold",
34796 "field": "sessionId",
34809 "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>",
34810 "version": "0.0.0",
34811 "filename": "server/api/webbar/index.js",
34812 "groupTitle": "WebBar"
34816 "url": "/api/webbar/unhold",
34817 "title": "unhold webrtc call",
34820 "title": "Example usage:",
34821 "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34825 "name": "Web_Bar_hold",
34834 "field": "sessionId",
34847 "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>",
34848 "version": "0.0.0",
34849 "filename": "server/api/webbar/index.js",
34850 "groupTitle": "WebBar"
34854 "url": "/api/webbar/originate",
34855 "title": "Originate new webrtc call",
34858 "title": "Example usage:",
34859 "content": "curl https://{domain}/api/webbar/originate -d '{\"callNumber\": \"0119692844\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34863 "name": "Web_Bar_originate",
34872 "field": "callNumber",
34886 "field": "callerId",
34893 "field": "callbackUrl",
34899 "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>",
34900 "version": "0.0.0",
34901 "filename": "server/api/webbar/index.js",
34902 "groupTitle": "WebBar"
34906 "url": "/api/webbar/transfer",
34907 "title": "blind transfer webrtc call",
34910 "title": "Example usage:",
34911 "content": "curl https://{domain}/api/webbar/transfer -d '{\"userId\": 54, \"sessionId\":\"<sessionId>\", \"transferNumber\":\"<transferNumber>\"}' \\\n -H \"Content-Type: application/json\" -X POST",
34915 "name": "Web_Bar_transfer",
34931 "field": "sessionId",
34938 "field": "transferNumber",
34944 "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>",
34945 "version": "0.0.0",
34946 "filename": "server/api/webbar/index.js",
34947 "groupTitle": "WebBar"
34951 "url": "/api/whatsapp/accounts/{id}/users",
34952 "title": "Add agents to a whatsapp account",
34955 "title": "Example usage:",
34956 "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",
34960 "name": "AddAgents",
34961 "group": "Whatsapp_Accounts",
34962 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34963 "version": "0.0.0",
34964 "filename": "server/api/whatsappAccount/index.js",
34965 "groupTitle": "Whatsapp_Accounts"
34969 "url": "/api/whatsapp/accounts",
34970 "title": "Creates a new Account",
34973 "title": "Example usage:",
34974 "content": "curl https://{domain}/api/whatsapp/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
34978 "name": "CreateAccounts",
34979 "group": "Whatsapp_Accounts",
35032 "field": "accountSid",
35039 "field": "authToken",
35046 "field": "notificationTemplate",
35053 "field": "notificationSound",
35060 "field": "notificationShake",
35067 "field": "waitForTheAssignedAgent",
35074 "field": "queueTransfer",
35081 "field": "queueTransferTimeout",
35088 "field": "agentTransfer",
35095 "field": "agentTransferTimeout",
35102 "field": "mandatoryDispositionPauseId",
35103 "description": "<p>Status to put when mandatory disposition is enabled</p>"
35109 "field": "mandatoryDisposition",
35110 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
35116 "field": "description",
35122 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35123 "version": "0.0.0",
35124 "filename": "server/api/whatsappAccount/index.js",
35125 "groupTitle": "Whatsapp_Accounts"
35129 "url": "/api/whatsapp/accounts/{id}",
35130 "title": "Deletes a Account",
35133 "title": "Example usage:",
35134 "content": "curl https://{domain}/api/whatsapp/accounts/{id} -v -u {name}:{password} -X DELETE",
35138 "name": "DeleteAccounts",
35139 "group": "Whatsapp_Accounts",
35140 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35141 "version": "0.0.0",
35142 "filename": "server/api/whatsappAccount/index.js",
35143 "groupTitle": "Whatsapp_Accounts"
35147 "url": "/api/whatsapp/accounts/describe",
35148 "title": "Gets table info about Accounts",
35151 "title": "Example usage:",
35152 "content": "curl https://{domain}/api/whatsapp/accounts/describe -v -u {name}:{password}",
35156 "name": "DescribeAccounts",
35157 "group": "Whatsapp_Accounts",
35158 "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>",
35159 "version": "0.0.0",
35160 "filename": "server/api/whatsappAccount/index.js",
35161 "groupTitle": "Whatsapp_Accounts"
35165 "url": "/api/whatsapp/accounts",
35166 "title": "Gets a list of Accounts",
35169 "title": "Example usage:",
35170 "content": "curl https://{domain}/api/whatsapp/accounts -v -u {name}:{password}",
35174 "name": "GetAccounts",
35175 "group": "Whatsapp_Accounts",
35176 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
35177 "version": "0.0.0",
35178 "filename": "server/api/whatsappAccount/index.js",
35179 "groupTitle": "Whatsapp_Accounts"
35183 "url": "/api/whatsapp/accounts/{id}/users",
35184 "title": "Gets agents from whatsapp account",
35187 "title": "Example usage:",
35188 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/users -v -u {name}:{password} -X GET",
35192 "name": "GetAgents",
35193 "group": "Whatsapp_Accounts",
35194 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35195 "version": "0.0.0",
35196 "filename": "server/api/whatsappAccount/index.js",
35197 "groupTitle": "Whatsapp_Accounts"
35201 "url": "/api/whatsapp/accounts/{id}/users",
35202 "title": "Removes agents from a whatsapp account",
35205 "title": "Example usage:",
35206 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35210 "name": "RemoveAgents",
35211 "group": "Whatsapp_Accounts",
35212 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35213 "version": "0.0.0",
35214 "filename": "server/api/whatsappAccount/index.js",
35215 "groupTitle": "Whatsapp_Accounts"
35219 "url": "/api/whatsapp/accounts/{id}/canned_answers",
35220 "title": "Removes canned answers from account",
35223 "title": "Example usage:",
35224 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35228 "name": "RemoveAnswers",
35229 "group": "Whatsapp_Accounts",
35230 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35231 "version": "0.0.0",
35232 "filename": "server/api/whatsappAccount/index.js",
35233 "groupTitle": "Whatsapp_Accounts"
35237 "url": "/api/whatsapp/accounts/{id}/dispositions",
35238 "title": "Removes dispositions from account",
35241 "title": "Example usage:",
35242 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35246 "name": "RemoveDispositions",
35247 "group": "Whatsapp_Accounts",
35248 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35249 "version": "0.0.0",
35250 "filename": "server/api/whatsappAccount/index.js",
35251 "groupTitle": "Whatsapp_Accounts"
35255 "url": "/api/whatsapp/accounts/{id}",
35256 "title": "Gets a single Account",
35259 "title": "Example usage:",
35260 "content": "curl https://{domain}/api/whatsapp/accounts/{id} -v -u {name}:{password}",
35264 "name": "ShowAccounts",
35265 "group": "Whatsapp_Accounts",
35266 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35267 "version": "0.0.0",
35268 "filename": "server/api/whatsappAccount/index.js",
35269 "groupTitle": "Whatsapp_Accounts"
35273 "url": "/api/whatsapp/messages/{id}/accept",
35274 "title": "Accepts message",
35277 "title": "Example usage:",
35278 "content": "curl https://{domain}/api/whatsapp/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
35282 "name": "acceptMessage",
35283 "group": "Whatsapp_Accounts",
35284 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35285 "version": "0.0.0",
35286 "filename": "server/api/whatsappMessage/index.js",
35287 "groupTitle": "Whatsapp_Accounts"
35291 "url": "/api/whatsapp/accounts/{id}/canned_answers",
35292 "title": "Creates new canned answer",
35295 "title": "Example usage:",
35296 "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",
35300 "name": "addAnswer",
35301 "group": "Whatsapp_Accounts",
35323 "field": "description",
35336 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35337 "version": "0.0.0",
35338 "filename": "server/api/whatsappAccount/index.js",
35339 "groupTitle": "Whatsapp_Accounts"
35343 "url": "/api/whatsapp/accounts/{id}/applications",
35344 "title": "Creates new applications",
35347 "title": "Example usage:",
35348 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
35352 "name": "addApplications",
35353 "group": "Whatsapp_Accounts",
35361 "field": "priority",
35375 "field": "appdata",
35382 "field": "description",
35389 "field": "interval",
35395 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35396 "version": "0.0.0",
35397 "filename": "server/api/whatsappAccount/index.js",
35398 "groupTitle": "Whatsapp_Accounts"
35402 "url": "/api/whatsapp/accounts/{id}/dispositions",
35403 "title": "Creates new disposition",
35406 "title": "Example usage:",
35407 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
35411 "name": "addDisposition",
35412 "group": "Whatsapp_Accounts",
35439 "field": "description",
35445 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35446 "version": "0.0.0",
35447 "filename": "server/api/whatsappAccount/index.js",
35448 "groupTitle": "Whatsapp_Accounts"
35452 "url": "/api/whatsapp/accounts/{id}/canned_answers",
35453 "title": "Gets account canned answers",
35456 "title": "Example usage:",
35457 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
35461 "name": "getAnswers",
35462 "group": "Whatsapp_Accounts",
35463 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35464 "version": "0.0.0",
35465 "filename": "server/api/whatsappAccount/index.js",
35466 "groupTitle": "Whatsapp_Accounts"
35470 "url": "/api/whatsapp/accounts/{id}/applications",
35471 "title": "Gets account applications",
35474 "title": "Example usage:",
35475 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/applications -v -u {name}:{password} -X GET",
35479 "name": "getApplications",
35480 "group": "Whatsapp_Accounts",
35481 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35482 "version": "0.0.0",
35483 "filename": "server/api/whatsappAccount/index.js",
35484 "groupTitle": "Whatsapp_Accounts"
35488 "url": "/api/whatsapp/accounts/{id}/dispositions",
35489 "title": "Gets account dispositions",
35492 "title": "Example usage:",
35493 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
35497 "name": "getDispositions",
35498 "group": "Whatsapp_Accounts",
35499 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35500 "version": "0.0.0",
35501 "filename": "server/api/whatsappAccount/index.js",
35502 "groupTitle": "Whatsapp_Accounts"
35506 "url": "/api/whatsapp/accounts/{id}/notify",
35507 "title": "Notify new message",
35510 "title": "Example usage:",
35511 "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",
35516 "group": "Whatsapp_Accounts",
35517 "description": "<p>Motion 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>",
35518 "version": "0.0.0",
35519 "filename": "server/api/whatsappAccount/index.js",
35520 "groupTitle": "Whatsapp_Accounts"
35524 "url": "/api/whatsapp/messages/{id}/reject",
35525 "title": "Rejects message",
35528 "title": "Example usage:",
35529 "content": "curl https://{domain}/api/whatsapp/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
35533 "name": "rejectMessage",
35534 "group": "Whatsapp_Accounts",
35535 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35536 "version": "0.0.0",
35537 "filename": "server/api/whatsappMessage/index.js",
35538 "groupTitle": "Whatsapp_Accounts"
35542 "url": "/api/whatsapp/accounts/{id}/send",
35543 "title": "Send new whatsapp message",
35546 "title": "Example usage:",
35547 "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",
35551 "name": "sendWhatsapp",
35552 "group": "Whatsapp_Accounts",
35553 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35554 "version": "0.0.0",
35555 "filename": "server/api/whatsappAccount/index.js",
35556 "groupTitle": "Whatsapp_Accounts"
35560 "url": "/api/whatsapp/messages/{id}/status",
35561 "title": "Receive message status",
35564 "title": "Example usage:",
35565 "content": "curl https://{domain}/api/whatsapp/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
35569 "name": "statusMessage",
35570 "group": "Whatsapp_Accounts",
35571 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35572 "version": "0.0.0",
35573 "filename": "server/api/whatsappMessage/index.js",
35574 "groupTitle": "Whatsapp_Accounts"
35578 "url": "/api/whatsapp/accounts/{id}",
35579 "title": "Update an existing Account",
35582 "title": "Example usage:",
35583 "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",
35587 "name": "updateAccounts",
35588 "group": "Whatsapp_Accounts",
35589 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35590 "version": "0.0.0",
35591 "filename": "server/api/whatsappAccount/index.js",
35592 "groupTitle": "Whatsapp_Accounts"
35596 "url": "/api/whatsapp/applications",
35597 "title": "Creates a new Application",
35600 "title": "Example usage:",
35601 "content": "curl https://{domain}/api/whatsapp/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
35605 "name": "CreateApplications",
35606 "group": "Whatsapp_Applications",
35614 "field": "priority",
35628 "field": "appdata",
35635 "field": "description",
35642 "field": "interval",
35648 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35649 "version": "0.0.0",
35650 "filename": "server/api/whatsappApplication/index.js",
35651 "groupTitle": "Whatsapp_Applications"
35655 "url": "/api/whatsapp/applications/{id}",
35656 "title": "Deletes a Application",
35659 "title": "Example usage:",
35660 "content": "curl https://{domain}/api/whatsapp/applications/{id} -v -u {name}:{password} -X DELETE",
35664 "name": "DeleteApplications",
35665 "group": "Whatsapp_Applications",
35666 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35667 "version": "0.0.0",
35668 "filename": "server/api/whatsappApplication/index.js",
35669 "groupTitle": "Whatsapp_Applications"
35673 "url": "/api/whatsapp/applications",
35674 "title": "Gets a list of Applications",
35677 "title": "Example usage:",
35678 "content": "curl https://{domain}/api/whatsapp/applications -v -u {name}:{password}",
35682 "name": "GetApplications",
35683 "group": "Whatsapp_Applications",
35684 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
35685 "version": "0.0.0",
35686 "filename": "server/api/whatsappApplication/index.js",
35687 "groupTitle": "Whatsapp_Applications"
35691 "url": "/api/whatsapp/applications/{id}",
35692 "title": "Gets a single Application",
35695 "title": "Example usage:",
35696 "content": "curl https://{domain}/api/whatsapp/applications/{id} -v -u {name}:{password}",
35700 "name": "ShowApplications",
35701 "group": "Whatsapp_Applications",
35702 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35703 "version": "0.0.0",
35704 "filename": "server/api/whatsappApplication/index.js",
35705 "groupTitle": "Whatsapp_Applications"
35709 "url": "/api/whatsapp/applications/{id}",
35710 "title": "Update an existing Application",
35713 "title": "Example usage:",
35714 "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",
35718 "name": "updateApplications",
35719 "group": "Whatsapp_Applications",
35720 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35721 "version": "0.0.0",
35722 "filename": "server/api/whatsappApplication/index.js",
35723 "groupTitle": "Whatsapp_Applications"
35727 "url": "/api/whatsapp/interactions/{id}/tags",
35728 "title": "Add tags to the interaction",
35731 "title": "Example usage:",
35732 "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",
35737 "group": "Whatsapp_Interactions",
35738 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35739 "version": "0.0.0",
35740 "filename": "server/api/whatsappInteraction/index.js",
35741 "groupTitle": "Whatsapp_Interactions"
35745 "url": "/api/whatsapp/interactions",
35746 "title": "Creates a new Interaction",
35749 "title": "Example usage:",
35750 "content": "curl https://{domain}/api/whatsapp/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
35754 "name": "CreateInteractions",
35755 "group": "Whatsapp_Interactions",
35770 "field": "closedAt",
35777 "field": "disposition",
35784 "field": "secondDisposition",
35791 "field": "thirdDisposition",
35812 "field": "read1stAt",
35823 "field": "firstMsgDirection",
35830 "field": "lastMsgAt",
35841 "field": "lastMsgDirection",
35847 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35848 "version": "0.0.0",
35849 "filename": "server/api/whatsappInteraction/index.js",
35850 "groupTitle": "Whatsapp_Interactions"
35854 "url": "/api/whatsapp/interactions/{id}",
35855 "title": "Deletes a Interaction",
35858 "title": "Example usage:",
35859 "content": "curl https://{domain}/api/whatsapp/interactions/{id} -v -u {name}:{password} -X DELETE",
35863 "name": "DeleteInteractions",
35864 "group": "Whatsapp_Interactions",
35865 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35866 "version": "0.0.0",
35867 "filename": "server/api/whatsappInteraction/index.js",
35868 "groupTitle": "Whatsapp_Interactions"
35872 "url": "/api/whatsapp/interactions/describe",
35873 "title": "Gets table info about Interactions",
35876 "title": "Example usage:",
35877 "content": "curl https://{domain}/api/whatsapp/interactions/describe -v -u {name}:{password}",
35881 "name": "DescribeInteractions",
35882 "group": "Whatsapp_Interactions",
35883 "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>",
35884 "version": "0.0.0",
35885 "filename": "server/api/whatsappInteraction/index.js",
35886 "groupTitle": "Whatsapp_Interactions"
35890 "url": "/api/whatsapp/interactions",
35891 "title": "Gets a list of Interactions",
35894 "title": "Example usage:",
35895 "content": "curl https://{domain}/api/whatsapp/interactions -v -u {name}:{password}",
35899 "name": "GetInteractions",
35900 "group": "Whatsapp_Interactions",
35901 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
35902 "version": "0.0.0",
35903 "filename": "server/api/whatsappInteraction/index.js",
35904 "groupTitle": "Whatsapp_Interactions"
35908 "url": "/api/whatsapp/interactions/{id}/tags",
35909 "title": "Removes tags from interaction",
35912 "title": "Example usage:",
35913 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35917 "name": "RemoveTags",
35918 "group": "Whatsapp_Interactions",
35919 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35920 "version": "0.0.0",
35921 "filename": "server/api/whatsappInteraction/index.js",
35922 "groupTitle": "Whatsapp_Interactions"
35926 "url": "/api/whatsapp/interactions/{id}",
35927 "title": "Gets a single Interaction",
35930 "title": "Example usage:",
35931 "content": "curl https://{domain}/api/whatsapp/interactions/{id} -v -u {name}:{password}",
35935 "name": "ShowInteractions",
35936 "group": "Whatsapp_Interactions",
35937 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35938 "version": "0.0.0",
35939 "filename": "server/api/whatsappInteraction/index.js",
35940 "groupTitle": "Whatsapp_Interactions"
35944 "url": "/api/whatsapp/interactions/{id}/messages",
35945 "title": "Creates new messages",
35948 "title": "Example usage:",
35949 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
35953 "name": "addMessage",
35954 "group": "Whatsapp_Interactions",
35980 "field": "direction",
35987 "field": "messageId",
36015 "field": "providerName",
36022 "field": "providerResponse",
36028 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36029 "version": "0.0.0",
36030 "filename": "server/api/whatsappInteraction/index.js",
36031 "groupTitle": "Whatsapp_Interactions"
36035 "url": "/api/whatsapp/interactions/{id}/download",
36036 "title": "Gets interaction",
36039 "title": "Example usage:",
36040 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/download -v -u {name}:{password} -X GET",
36044 "name": "download",
36045 "group": "Whatsapp_Interactions",
36046 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36047 "version": "0.0.0",
36048 "filename": "server/api/whatsappInteraction/index.js",
36049 "groupTitle": "Whatsapp_Interactions"
36053 "url": "/api/whatsapp/interactions/{id}/messages",
36054 "title": "Gets interaction messages",
36057 "title": "Example usage:",
36058 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/messages -v -u {name}:{password} -X GET",
36062 "name": "getMessages",
36063 "group": "Whatsapp_Interactions",
36064 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36065 "version": "0.0.0",
36066 "filename": "server/api/whatsappInteraction/index.js",
36067 "groupTitle": "Whatsapp_Interactions"
36071 "url": "/api/whatsapp/interactions/{id}",
36072 "title": "Update an existing Interaction",
36075 "title": "Example usage:",
36076 "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",
36080 "name": "updateInteractions",
36081 "group": "Whatsapp_Interactions",
36082 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36083 "version": "0.0.0",
36084 "filename": "server/api/whatsappInteraction/index.js",
36085 "groupTitle": "Whatsapp_Interactions"
36089 "url": "/api/whatsapp/messages",
36090 "title": "Creates a new Message",
36093 "title": "Example usage:",
36094 "content": "curl https://{domain}/api/whatsapp/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
36098 "name": "CreateMessages",
36099 "group": "Whatsapp_Messages",
36125 "field": "direction",
36132 "field": "messageId",
36160 "field": "providerName",
36167 "field": "providerResponse",
36173 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36174 "version": "0.0.0",
36175 "filename": "server/api/whatsappMessage/index.js",
36176 "groupTitle": "Whatsapp_Messages"
36180 "url": "/api/whatsapp/messages/{id}",
36181 "title": "Deletes a Message",
36184 "title": "Example usage:",
36185 "content": "curl https://{domain}/api/whatsapp/messages/{id} -v -u {name}:{password} -X DELETE",
36189 "name": "DeleteMessages",
36190 "group": "Whatsapp_Messages",
36191 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36192 "version": "0.0.0",
36193 "filename": "server/api/whatsappMessage/index.js",
36194 "groupTitle": "Whatsapp_Messages"
36198 "url": "/api/whatsapp/messages/describe",
36199 "title": "Gets table info about Messages",
36202 "title": "Example usage:",
36203 "content": "curl https://{domain}/api/whatsapp/messages/describe -v -u {name}:{password}",
36207 "name": "DescribeMessages",
36208 "group": "Whatsapp_Messages",
36209 "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>",
36210 "version": "0.0.0",
36211 "filename": "server/api/whatsappMessage/index.js",
36212 "groupTitle": "Whatsapp_Messages"
36216 "url": "/api/whatsapp/messages",
36217 "title": "Gets a list of Messages",
36220 "title": "Example usage:",
36221 "content": "curl https://{domain}/api/whatsapp/messages -v -u {name}:{password}",
36225 "name": "GetMessages",
36226 "group": "Whatsapp_Messages",
36227 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36228 "version": "0.0.0",
36229 "filename": "server/api/whatsappMessage/index.js",
36230 "groupTitle": "Whatsapp_Messages"
36234 "url": "/api/whatsapp/messages/{id}",
36235 "title": "Gets a single Message",
36238 "title": "Example usage:",
36239 "content": "curl https://{domain}/api/whatsapp/messages/{id} -v -u {name}:{password}",
36243 "name": "ShowMessages",
36244 "group": "Whatsapp_Messages",
36245 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36246 "version": "0.0.0",
36247 "filename": "server/api/whatsappMessage/index.js",
36248 "groupTitle": "Whatsapp_Messages"
36252 "url": "/api/whatsapp/messages/{id}",
36253 "title": "Update an existing Message",
36256 "title": "Example usage:",
36257 "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",
36261 "name": "updateMessages",
36262 "group": "Whatsapp_Messages",
36263 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36264 "version": "0.0.0",
36265 "filename": "server/api/whatsappMessage/index.js",
36266 "groupTitle": "Whatsapp_Messages"
36270 "url": "/api/whatsapp/reports/queue",
36271 "title": "Creates a new Whatsapp Queue Report",
36274 "title": "Example usage:",
36275 "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",
36279 "name": "CreateWhatsapp_Queue_Reports",
36280 "group": "Whatsapp_Queue_Reports",
36288 "field": "uniqueid",
36309 "field": "leaveAt",
36316 "field": "acceptAt",
36336 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36337 "version": "0.0.0",
36338 "filename": "server/api/whatsappQueueReport/index.js",
36339 "groupTitle": "Whatsapp_Queue_Reports"
36343 "url": "/api/whatsapp/reports/queue/{id}",
36344 "title": "Deletes a Whatsapp Queue Report",
36347 "title": "Example usage:",
36348 "content": "curl https://{domain}/api/whatsapp/reports/queue/{id} -v -u {name}:{password} -X DELETE",
36352 "name": "DeleteWhatsapp_Queue_Reports",
36353 "group": "Whatsapp_Queue_Reports",
36354 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36355 "version": "0.0.0",
36356 "filename": "server/api/whatsappQueueReport/index.js",
36357 "groupTitle": "Whatsapp_Queue_Reports"
36361 "url": "/api/whatsapp/reports/queue/describe",
36362 "title": "Gets table info about Whatsapp Queue Reports",
36365 "title": "Example usage:",
36366 "content": "curl https://{domain}/api/whatsapp/reports/queue/describe -v -u {name}:{password}",
36370 "name": "DescribeWhatsapp_Queue_Reports",
36371 "group": "Whatsapp_Queue_Reports",
36372 "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>",
36373 "version": "0.0.0",
36374 "filename": "server/api/whatsappQueueReport/index.js",
36375 "groupTitle": "Whatsapp_Queue_Reports"
36379 "url": "/api/whatsapp/reports/queue",
36380 "title": "Gets a list of Whatsapp Queue Reports",
36383 "title": "Example usage:",
36384 "content": "curl https://{domain}/api/whatsapp/reports/queue -v -u {name}:{password}",
36388 "name": "GetWhatsapp_Queue_Reports",
36389 "group": "Whatsapp_Queue_Reports",
36390 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36391 "version": "0.0.0",
36392 "filename": "server/api/whatsappQueueReport/index.js",
36393 "groupTitle": "Whatsapp_Queue_Reports"
36397 "url": "/api/whatsapp/reports/queue/{id}",
36398 "title": "Gets a single Whatsapp Queue Report",
36401 "title": "Example usage:",
36402 "content": "curl https://{domain}/api/whatsapp/reports/queue/{id} -v -u {name}:{password}",
36406 "name": "ShowWhatsapp_Queue_Reports",
36407 "group": "Whatsapp_Queue_Reports",
36408 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36409 "version": "0.0.0",
36410 "filename": "server/api/whatsappQueueReport/index.js",
36411 "groupTitle": "Whatsapp_Queue_Reports"
36415 "url": "/api/whatsapp/reports/queue/{id}",
36416 "title": "Update an existing Whatsapp Queue Report",
36419 "title": "Example usage:",
36420 "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",
36424 "name": "updateWhatsapp_Queue_Reports",
36425 "group": "Whatsapp_Queue_Reports",
36426 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36427 "version": "0.0.0",
36428 "filename": "server/api/whatsappQueueReport/index.js",
36429 "groupTitle": "Whatsapp_Queue_Reports"
36433 "url": "/api/whatsapp/queues/{id}/users",
36434 "title": "Add agents to a queue",
36437 "title": "Example usage:",
36438 "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",
36442 "name": "AddAgents",
36443 "group": "Whatsapp_Queues",
36444 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36445 "version": "0.0.0",
36446 "filename": "server/api/whatsappQueue/index.js",
36447 "groupTitle": "Whatsapp_Queues"
36451 "url": "/api/whatsapp/queues/{id}/teams",
36452 "title": "Add teams to a queue",
36455 "title": "Example usage:",
36456 "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",
36460 "name": "AddTeams",
36461 "group": "Whatsapp_Queues",
36462 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36463 "version": "0.0.0",
36464 "filename": "server/api/whatsappQueue/index.js",
36465 "groupTitle": "Whatsapp_Queues"
36469 "url": "/api/whatsapp/queues",
36470 "title": "Creates a new Queue",
36473 "title": "Example usage:",
36474 "content": "curl https://{domain}/api/whatsapp/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
36478 "name": "CreateQueues",
36479 "group": "Whatsapp_Queues",
36494 "field": "timeout",
36506 "field": "strategy",
36513 "field": "description",
36519 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36520 "version": "0.0.0",
36521 "filename": "server/api/whatsappQueue/index.js",
36522 "groupTitle": "Whatsapp_Queues"
36526 "url": "/api/whatsapp/queues/{id}",
36527 "title": "Deletes a Queue",
36530 "title": "Example usage:",
36531 "content": "curl https://{domain}/api/whatsapp/queues/{id} -v -u {name}:{password} -X DELETE",
36535 "name": "DeleteQueues",
36536 "group": "Whatsapp_Queues",
36537 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36538 "version": "0.0.0",
36539 "filename": "server/api/whatsappQueue/index.js",
36540 "groupTitle": "Whatsapp_Queues"
36544 "url": "/api/whatsapp/queues/describe",
36545 "title": "Gets table info about Queues",
36548 "title": "Example usage:",
36549 "content": "curl https://{domain}/api/whatsapp/queues/describe -v -u {name}:{password}",
36553 "name": "DescribeQueues",
36554 "group": "Whatsapp_Queues",
36555 "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>",
36556 "version": "0.0.0",
36557 "filename": "server/api/whatsappQueue/index.js",
36558 "groupTitle": "Whatsapp_Queues"
36562 "url": "/api/whatsapp/queues/{id}/users",
36563 "title": "Gets queue agents",
36566 "title": "Example usage:",
36567 "content": "curl https://{domain}/api/whatsapp/queues/{id}/users -v -u {name}:{password} -X POST",
36571 "name": "GetAgents",
36572 "group": "Whatsapp_Queues",
36573 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36574 "version": "0.0.0",
36575 "filename": "server/api/whatsappQueue/index.js",
36576 "groupTitle": "Whatsapp_Queues"
36580 "url": "/api/whatsapp/queues/{id}/members",
36581 "title": "GetMembers",
36584 "title": "Example usage:",
36585 "content": "curl https://{domain}/api/whatsapp/queues/{id}/members -v -u {name}:{password}",
36589 "name": "GetMembers",
36590 "group": "Whatsapp_Queues",
36591 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36592 "version": "0.0.0",
36593 "filename": "server/api/whatsappQueue/index.js",
36594 "groupTitle": "Whatsapp_Queues"
36598 "url": "/api/whatsapp/queues",
36599 "title": "Gets a list of Queues",
36602 "title": "Example usage:",
36603 "content": "curl https://{domain}/api/whatsapp/queues -v -u {name}:{password}",
36607 "name": "GetQueues",
36608 "group": "Whatsapp_Queues",
36609 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36610 "version": "0.0.0",
36611 "filename": "server/api/whatsappQueue/index.js",
36612 "groupTitle": "Whatsapp_Queues"
36616 "url": "/api/whatsapp/queues/{id}/teams",
36617 "title": "Gets queues list",
36620 "title": "Example usage:",
36621 "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password}",
36625 "name": "GetTeams",
36626 "group": "Whatsapp_Queues",
36627 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36628 "version": "0.0.0",
36629 "filename": "server/api/whatsappQueue/index.js",
36630 "groupTitle": "Whatsapp_Queues"
36634 "url": "/api/whatsapp/queues/{id}/users",
36635 "title": "Removes agents from a queue",
36638 "title": "Example usage:",
36639 "content": "curl https://{domain}/api/whatsapp/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
36643 "name": "RemoveAgents",
36644 "group": "Whatsapp_Queues",
36645 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36646 "version": "0.0.0",
36647 "filename": "server/api/whatsappQueue/index.js",
36648 "groupTitle": "Whatsapp_Queues"
36652 "url": "/api/whatsapp/queues/{id}",
36653 "title": "Gets a single Queue",
36656 "title": "Example usage:",
36657 "content": "curl https://{domain}/api/whatsapp/queues/{id} -v -u {name}:{password}",
36661 "name": "ShowQueues",
36662 "group": "Whatsapp_Queues",
36663 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36664 "version": "0.0.0",
36665 "filename": "server/api/whatsappQueue/index.js",
36666 "groupTitle": "Whatsapp_Queues"
36670 "url": "/api/whatsapp/queues/{id}",
36671 "title": "Update an existing Queue",
36674 "title": "Example usage:",
36675 "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",
36679 "name": "updateQueues",
36680 "group": "Whatsapp_Queues",
36681 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36682 "version": "0.0.0",
36683 "filename": "server/api/whatsappQueue/index.js",
36684 "groupTitle": "Whatsapp_Queues"
36688 "url": "/api/whatsapp/reports/transfer",
36689 "title": "Creates a new Whatsapp Transfer Report",
36692 "title": "Example usage:",
36693 "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",
36697 "name": "CreateWhatsapp_Transfer_Reports",
36698 "group": "Whatsapp_Transfer_Reports",
36706 "field": "uniqueid",
36725 "field": "transferredAt",
36731 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36732 "version": "0.0.0",
36733 "filename": "server/api/whatsappTransferReport/index.js",
36734 "groupTitle": "Whatsapp_Transfer_Reports"
36738 "url": "/api/whatsapp/reports/transfer/{id}",
36739 "title": "Deletes a Whatsapp Transfer Report",
36742 "title": "Example usage:",
36743 "content": "curl https://{domain}/api/whatsapp/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
36747 "name": "DeleteWhatsapp_Transfer_Reports",
36748 "group": "Whatsapp_Transfer_Reports",
36749 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36750 "version": "0.0.0",
36751 "filename": "server/api/whatsappTransferReport/index.js",
36752 "groupTitle": "Whatsapp_Transfer_Reports"
36756 "url": "/api/whatsapp/reports/transfer/describe",
36757 "title": "Gets table info about Whatsapp Transfer Reports",
36760 "title": "Example usage:",
36761 "content": "curl https://{domain}/api/whatsapp/reports/transfer/describe -v -u {name}:{password}",
36765 "name": "DescribeWhatsapp_Transfer_Reports",
36766 "group": "Whatsapp_Transfer_Reports",
36767 "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>",
36768 "version": "0.0.0",
36769 "filename": "server/api/whatsappTransferReport/index.js",
36770 "groupTitle": "Whatsapp_Transfer_Reports"
36774 "url": "/api/whatsapp/reports/transfer",
36775 "title": "Gets a list of Whatsapp Transfer Reports",
36778 "title": "Example usage:",
36779 "content": "curl https://{domain}/api/whatsapp/reports/transfer -v -u {name}:{password}",
36783 "name": "GetWhatsapp_Transfer_Reports",
36784 "group": "Whatsapp_Transfer_Reports",
36785 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36786 "version": "0.0.0",
36787 "filename": "server/api/whatsappTransferReport/index.js",
36788 "groupTitle": "Whatsapp_Transfer_Reports"
36792 "url": "/api/whatsapp/reports/transfer/{id}",
36793 "title": "Gets a single Whatsapp Transfer Report",
36796 "title": "Example usage:",
36797 "content": "curl https://{domain}/api/whatsapp/reports/transfer/{id} -v -u {name}:{password}",
36801 "name": "ShowWhatsapp_Transfer_Reports",
36802 "group": "Whatsapp_Transfer_Reports",
36803 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36804 "version": "0.0.0",
36805 "filename": "server/api/whatsappTransferReport/index.js",
36806 "groupTitle": "Whatsapp_Transfer_Reports"
36810 "url": "/api/whatsapp/reports/transfer/{id}",
36811 "title": "Update an existing Whatsapp Transfer Report",
36814 "title": "Example usage:",
36815 "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",
36819 "name": "updateWhatsapp_Transfer_Reports",
36820 "group": "Whatsapp_Transfer_Reports",
36821 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36822 "version": "0.0.0",
36823 "filename": "server/api/whatsappTransferReport/index.js",
36824 "groupTitle": "Whatsapp_Transfer_Reports"
36828 "url": "/api/integrations/zendesk/accounts",
36829 "title": "Creates a new Zendesk Account",
36832 "title": "Example usage:",
36833 "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",
36837 "name": "CreateZendesk_Accounts",
36838 "group": "Zendesk_Accounts",
36853 "field": "description",
36860 "field": "username",
36867 "field": "password",
36881 "field": "remoteUri",
36892 "field": "authType",
36899 "field": "serverUrl",
36906 "\"integrationTab\"",
36916 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36917 "version": "0.0.0",
36918 "filename": "server/api/intZendeskAccount/index.js",
36919 "groupTitle": "Zendesk_Accounts"
36923 "url": "/api/integrations/zendesk/accounts/{id}",
36924 "title": "Deletes a Zendesk Account",
36927 "title": "Example usage:",
36928 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id} -v -u {name}:{password} -X DELETE",
36932 "name": "DeleteZendesk_Accounts",
36933 "group": "Zendesk_Accounts",
36934 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36935 "version": "0.0.0",
36936 "filename": "server/api/intZendeskAccount/index.js",
36937 "groupTitle": "Zendesk_Accounts"
36941 "url": "/api/integrations/zendesk/accounts",
36942 "title": "Gets a list of Zendesk Accounts",
36945 "title": "Example usage:",
36946 "content": "curl https://{domain}/api/integrations/zendesk/accounts -v -u {name}:{password}",
36950 "name": "GetZendesk_Accounts",
36951 "group": "Zendesk_Accounts",
36952 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36953 "version": "0.0.0",
36954 "filename": "server/api/intZendeskAccount/index.js",
36955 "groupTitle": "Zendesk_Accounts"
36959 "url": "/api/integrations/zendesk/accounts/{id}",
36960 "title": "Gets a single Zendesk Account",
36963 "title": "Example usage:",
36964 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id} -v -u {name}:{password}",
36968 "name": "ShowZendesk_Accounts",
36969 "group": "Zendesk_Accounts",
36970 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36971 "version": "0.0.0",
36972 "filename": "server/api/intZendeskAccount/index.js",
36973 "groupTitle": "Zendesk_Accounts"
36977 "url": "/api/integrations/zendesk/accounts/{id}/configurations",
36978 "title": "Creates new configuration",
36981 "title": "Example usage:",
36982 "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",
36986 "name": "addConfiguration",
36987 "group": "Zendesk_Accounts",
36988 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36989 "version": "0.0.0",
36990 "filename": "server/api/intZendeskAccount/index.js",
36991 "groupTitle": "Zendesk_Accounts"
36995 "url": "/api/integrations/zendesk/accounts/{id}/configurations",
36996 "title": "Gets account configurations",
36999 "title": "Example usage:",
37000 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
37004 "name": "getConfigurations",
37005 "group": "Zendesk_Accounts",
37006 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37007 "version": "0.0.0",
37008 "filename": "server/api/intZendeskAccount/index.js",
37009 "groupTitle": "Zendesk_Accounts"
37013 "url": "/api/integrations/zendesk/accounts/{id}/fields",
37014 "title": "Gets account fields",
37017 "title": "Example usage:",
37018 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id}/fields -v -u {name}:{password} -X GET",
37022 "name": "getFields",
37023 "group": "Zendesk_Accounts",
37024 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37025 "version": "0.0.0",
37026 "filename": "server/api/intZendeskAccount/index.js",
37027 "groupTitle": "Zendesk_Accounts"
37031 "url": "/api/integrations/zendesk/accounts/{id}",
37032 "title": "Update an existing Zendesk Account",
37035 "title": "Example usage:",
37036 "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",
37040 "name": "updateZendesk_Accounts",
37041 "group": "Zendesk_Accounts",
37042 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37043 "version": "0.0.0",
37044 "filename": "server/api/intZendeskAccount/index.js",
37045 "groupTitle": "Zendesk_Accounts"
37049 "url": "/api/integrations/zendesk/configurations",
37050 "title": "Creates a new Zendesk Configuration",
37053 "title": "Example usage:",
37054 "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",
37058 "name": "CreateZendesk_Configurations",
37059 "group": "Zendesk_Configurations",
37074 "field": "description",
37080 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37081 "version": "0.0.0",
37082 "filename": "server/api/intZendeskConfiguration/index.js",
37083 "groupTitle": "Zendesk_Configurations"
37087 "url": "/api/integrations/zendesk/configurations/{id}",
37088 "title": "Deletes a Zendesk Configuration",
37091 "title": "Example usage:",
37092 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id} -v -u {name}:{password} -X DELETE",
37096 "name": "DeleteZendesk_Configurations",
37097 "group": "Zendesk_Configurations",
37098 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37099 "version": "0.0.0",
37100 "filename": "server/api/intZendeskConfiguration/index.js",
37101 "groupTitle": "Zendesk_Configurations"
37105 "url": "/api/integrations/zendesk/configurations",
37106 "title": "Gets a list of Zendesk Configurations",
37109 "title": "Example usage:",
37110 "content": "curl https://{domain}/api/integrations/zendesk/configurations -v -u {name}:{password}",
37114 "name": "GetZendesk_Configurations",
37115 "group": "Zendesk_Configurations",
37116 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
37117 "version": "0.0.0",
37118 "filename": "server/api/intZendeskConfiguration/index.js",
37119 "groupTitle": "Zendesk_Configurations"
37123 "url": "/api/integrations/zendesk/configurations/{id}",
37124 "title": "Gets a single Zendesk Configuration",
37127 "title": "Example usage:",
37128 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id} -v -u {name}:{password}",
37132 "name": "ShowZendesk_Configurations",
37133 "group": "Zendesk_Configurations",
37134 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37135 "version": "0.0.0",
37136 "filename": "server/api/intZendeskConfiguration/index.js",
37137 "groupTitle": "Zendesk_Configurations"
37141 "url": "/api/integrations/zendesk/configurations/{id}/descriptions",
37142 "title": "Gets configurations descriptions",
37145 "title": "Example usage:",
37146 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
37150 "name": "getDescriptions",
37151 "group": "Zendesk_Configurations",
37152 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37153 "version": "0.0.0",
37154 "filename": "server/api/intZendeskConfiguration/index.js",
37155 "groupTitle": "Zendesk_Configurations"
37159 "url": "/api/integrations/zendesk/configurations/{id}/fields",
37160 "title": "Gets configurations fields",
37163 "title": "Example usage:",
37164 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/fields -v -u {name}:{password} -X GET",
37168 "name": "getFields",
37169 "group": "Zendesk_Configurations",
37170 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37171 "version": "0.0.0",
37172 "filename": "server/api/intZendeskConfiguration/index.js",
37173 "groupTitle": "Zendesk_Configurations"
37177 "url": "/api/integrations/zendesk/configurations/{id}/subjects",
37178 "title": "Gets configurations subjects",
37181 "title": "Example usage:",
37182 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
37186 "name": "getSubjects",
37187 "group": "Zendesk_Configurations",
37188 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37189 "version": "0.0.0",
37190 "filename": "server/api/intZendeskConfiguration/index.js",
37191 "groupTitle": "Zendesk_Configurations"
37195 "url": "/api/integrations/zendesk/configurations/{id}/tags",
37196 "title": "Gets configurations tags",
37199 "title": "Example usage:",
37200 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/tags -v -u {name}:{password} -X GET",
37205 "group": "Zendesk_Configurations",
37206 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37207 "version": "0.0.0",
37208 "filename": "server/api/intZendeskConfiguration/index.js",
37209 "groupTitle": "Zendesk_Configurations"
37213 "url": "/api/integrations/zendesk/configurations/{id}/tags",
37214 "title": "Sets new tags",
37217 "title": "Example usage:",
37218 "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",
37223 "group": "Zendesk_Configurations",
37224 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37225 "version": "0.0.0",
37226 "filename": "server/api/intZendeskConfiguration/index.js",
37227 "groupTitle": "Zendesk_Configurations"
37231 "url": "/api/integrations/zendesk/configurations/{id}",
37232 "title": "Update an existing Zendesk Configuration",
37235 "title": "Example usage:",
37236 "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",
37240 "name": "updateZendesk_Configurations",
37241 "group": "Zendesk_Configurations",
37242 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37243 "version": "0.0.0",
37244 "filename": "server/api/intZendeskConfiguration/index.js",
37245 "groupTitle": "Zendesk_Configurations"
37249 "url": "/api/integrations/zendesk/fields",
37250 "title": "Creates a new Zendesk Field",
37253 "title": "Example usage:",
37254 "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",
37258 "name": "CreateZendesk_Fields",
37259 "group": "Zendesk_Fields",
37269 "\"customVariable\"",
37281 "field": "content",
37297 "\"customVariable\""
37300 "field": "keyType",
37307 "field": "keyContent",
37314 "field": "idField",
37321 "field": "nameField",
37328 "field": "customField",
37335 "field": "variableName",
37341 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37342 "version": "0.0.0",
37343 "filename": "server/api/intZendeskField/index.js",
37344 "groupTitle": "Zendesk_Fields"
37348 "url": "/api/integrations/zendesk/fields/{id}",
37349 "title": "Deletes a Zendesk Field",
37352 "title": "Example usage:",
37353 "content": "curl https://{domain}/api/integrations/zendesk/fields/{id} -v -u {name}:{password} -X DELETE",
37357 "name": "DeleteZendesk_Fields",
37358 "group": "Zendesk_Fields",
37359 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37360 "version": "0.0.0",
37361 "filename": "server/api/intZendeskField/index.js",
37362 "groupTitle": "Zendesk_Fields"
37366 "url": "/api/integrations/zendesk/fields",
37367 "title": "Gets a list of Zendesk Fields",
37370 "title": "Example usage:",
37371 "content": "curl https://{domain}/api/integrations/zendesk/fields -v -u {name}:{password}",
37375 "name": "GetZendesk_Fields",
37376 "group": "Zendesk_Fields",
37377 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
37378 "version": "0.0.0",
37379 "filename": "server/api/intZendeskField/index.js",
37380 "groupTitle": "Zendesk_Fields"
37384 "url": "/api/integrations/zendesk/fields/{id}",
37385 "title": "Gets a single Zendesk Field",
37388 "title": "Example usage:",
37389 "content": "curl https://{domain}/api/integrations/zendesk/fields/{id} -v -u {name}:{password}",
37393 "name": "ShowZendesk_Fields",
37394 "group": "Zendesk_Fields",
37395 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37396 "version": "0.0.0",
37397 "filename": "server/api/intZendeskField/index.js",
37398 "groupTitle": "Zendesk_Fields"
37402 "url": "/api/integrations/zendesk/fields/{id}",
37403 "title": "Update an existing Zendesk Field",
37406 "title": "Example usage:",
37407 "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",
37411 "name": "updateZendesk_Fields",
37412 "group": "Zendesk_Fields",
37413 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37414 "version": "0.0.0",
37415 "filename": "server/api/intZendeskField/index.js",
37416 "groupTitle": "Zendesk_Fields"
37420 "url": "/api/integrations/zoho/accounts",
37421 "title": "Creates a new Zoho Account",
37424 "title": "Example usage:",
37425 "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",
37429 "name": "CreateZoho_Accounts",
37430 "group": "Zoho_Accounts",
37445 "field": "description",
37466 "field": "clientId",
37473 "field": "clientSecret",
37480 "field": "serverUrl",
37494 "field": "refreshToken",
37500 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37501 "version": "0.0.0",
37502 "filename": "server/api/intZohoAccount/index.js",
37503 "groupTitle": "Zoho_Accounts"
37507 "url": "/api/integrations/zoho/accounts/{id}",
37508 "title": "Deletes a Zoho Account",
37511 "title": "Example usage:",
37512 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id} -v -u {name}:{password} -X DELETE",
37516 "name": "DeleteZoho_Accounts",
37517 "group": "Zoho_Accounts",
37518 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37519 "version": "0.0.0",
37520 "filename": "server/api/intZohoAccount/index.js",
37521 "groupTitle": "Zoho_Accounts"
37525 "url": "/api/integrations/zoho/accounts",
37526 "title": "Gets a list of Zoho Accounts",
37529 "title": "Example usage:",
37530 "content": "curl https://{domain}/api/integrations/zoho/accounts -v -u {name}:{password}",
37534 "name": "GetZoho_Accounts",
37535 "group": "Zoho_Accounts",
37536 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
37537 "version": "0.0.0",
37538 "filename": "server/api/intZohoAccount/index.js",
37539 "groupTitle": "Zoho_Accounts"
37543 "url": "/api/integrations/zoho/accounts/{id}",
37544 "title": "Gets a single Zoho Account",
37547 "title": "Example usage:",
37548 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id} -v -u {name}:{password}",
37552 "name": "ShowZoho_Accounts",
37553 "group": "Zoho_Accounts",
37554 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37555 "version": "0.0.0",
37556 "filename": "server/api/intZohoAccount/index.js",
37557 "groupTitle": "Zoho_Accounts"
37561 "url": "/api/integrations/zoho/accounts/{id}/configurations",
37562 "title": "Creates new configuration",
37565 "title": "Example usage:",
37566 "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",
37570 "name": "addConfiguration",
37571 "group": "Zoho_Accounts",
37572 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37573 "version": "0.0.0",
37574 "filename": "server/api/intZohoAccount/index.js",
37575 "groupTitle": "Zoho_Accounts"
37579 "url": "/api/integrations/zoho/accounts/{id}/configurations",
37580 "title": "Gets account configurations",
37583 "title": "Example usage:",
37584 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id}/configurations -v -u {name}:{password} -X GET",
37588 "name": "getConfigurations",
37589 "group": "Zoho_Accounts",
37590 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37591 "version": "0.0.0",
37592 "filename": "server/api/intZohoAccount/index.js",
37593 "groupTitle": "Zoho_Accounts"
37597 "url": "/api/integrations/zoho/accounts/{id}/fields",
37598 "title": "Gets account fields",
37601 "title": "Example usage:",
37602 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id}/fields -v -u {name}:{password} -X GET",
37606 "name": "getFields",
37607 "group": "Zoho_Accounts",
37608 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37609 "version": "0.0.0",
37610 "filename": "server/api/intZohoAccount/index.js",
37611 "groupTitle": "Zoho_Accounts"
37615 "url": "/api/integrations/zoho/accounts/{id}",
37616 "title": "Update an existing Zoho Account",
37619 "title": "Example usage:",
37620 "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",
37624 "name": "updateZoho_Accounts",
37625 "group": "Zoho_Accounts",
37626 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37627 "version": "0.0.0",
37628 "filename": "server/api/intZohoAccount/index.js",
37629 "groupTitle": "Zoho_Accounts"
37633 "url": "/api/integrations/zoho/configurations",
37634 "title": "Creates a new Zoho Configuration",
37637 "title": "Example usage:",
37638 "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",
37642 "name": "CreateZoho_Configurations",
37643 "group": "Zoho_Configurations",
37663 "field": "moduleCreate",
37670 "\"contact_lead\"",
37675 "field": "moduleSearch",
37682 "field": "description",
37688 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37689 "version": "0.0.0",
37690 "filename": "server/api/intZohoConfiguration/index.js",
37691 "groupTitle": "Zoho_Configurations"
37695 "url": "/api/integrations/zoho/configurations/{id}",
37696 "title": "Deletes a Zoho Configuration",
37699 "title": "Example usage:",
37700 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id} -v -u {name}:{password} -X DELETE",
37704 "name": "DeleteZoho_Configurations",
37705 "group": "Zoho_Configurations",
37706 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37707 "version": "0.0.0",
37708 "filename": "server/api/intZohoConfiguration/index.js",
37709 "groupTitle": "Zoho_Configurations"
37713 "url": "/api/integrations/zoho/configurations",
37714 "title": "Gets a list of Zoho Configurations",
37717 "title": "Example usage:",
37718 "content": "curl https://{domain}/api/integrations/zoho/configurations -v -u {name}:{password}",
37722 "name": "GetZoho_Configurations",
37723 "group": "Zoho_Configurations",
37724 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
37725 "version": "0.0.0",
37726 "filename": "server/api/intZohoConfiguration/index.js",
37727 "groupTitle": "Zoho_Configurations"
37731 "url": "/api/integrations/zoho/configurations/{id}",
37732 "title": "Gets a single Zoho Configuration",
37735 "title": "Example usage:",
37736 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id} -v -u {name}:{password}",
37740 "name": "ShowZoho_Configurations",
37741 "group": "Zoho_Configurations",
37742 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37743 "version": "0.0.0",
37744 "filename": "server/api/intZohoConfiguration/index.js",
37745 "groupTitle": "Zoho_Configurations"
37749 "url": "/api/integrations/zoho/configurations/{id}/descriptions",
37750 "title": "Gets configurations descriptions",
37753 "title": "Example usage:",
37754 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
37758 "name": "getDescriptions",
37759 "group": "Zoho_Configurations",
37760 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37761 "version": "0.0.0",
37762 "filename": "server/api/intZohoConfiguration/index.js",
37763 "groupTitle": "Zoho_Configurations"
37767 "url": "/api/integrations/zoho/configurations/{id}/fields",
37768 "title": "Gets configurations fields",
37771 "title": "Example usage:",
37772 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/fields -v -u {name}:{password} -X GET",
37776 "name": "getFields",
37777 "group": "Zoho_Configurations",
37778 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37779 "version": "0.0.0",
37780 "filename": "server/api/intZohoConfiguration/index.js",
37781 "groupTitle": "Zoho_Configurations"
37785 "url": "/api/integrations/zoho/configurations/{id}/subjects",
37786 "title": "Gets configurations subjects",
37789 "title": "Example usage:",
37790 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/subjects -v -u {name}:{password} -X GET",
37794 "name": "getSubjects",
37795 "group": "Zoho_Configurations",
37796 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37797 "version": "0.0.0",
37798 "filename": "server/api/intZohoConfiguration/index.js",
37799 "groupTitle": "Zoho_Configurations"
37803 "url": "/api/integrations/zoho/configurations/{id}",
37804 "title": "Update an existing Zoho Configuration",
37807 "title": "Example usage:",
37808 "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",
37812 "name": "updateZoho_Configurations",
37813 "group": "Zoho_Configurations",
37814 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37815 "version": "0.0.0",
37816 "filename": "server/api/intZohoConfiguration/index.js",
37817 "groupTitle": "Zoho_Configurations"
37821 "url": "/api/integrations/zoho/fields",
37822 "title": "Creates a new Zoho Field",
37825 "title": "Example usage:",
37826 "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",
37830 "name": "CreateZoho_Fields",
37831 "group": "Zoho_Fields",
37841 "\"customVariable\"",
37853 "field": "content",
37869 "\"customVariable\""
37872 "field": "keyType",
37879 "field": "keyContent",
37886 "field": "idField",
37893 "field": "nameField",
37900 "field": "customField",
37907 "field": "variableName",
37913 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37914 "version": "0.0.0",
37915 "filename": "server/api/intZohoField/index.js",
37916 "groupTitle": "Zoho_Fields"
37920 "url": "/api/integrations/zoho/fields/{id}",
37921 "title": "Deletes a Zoho Field",
37924 "title": "Example usage:",
37925 "content": "curl https://{domain}/api/integrations/zoho/fields/{id} -v -u {name}:{password} -X DELETE",
37929 "name": "DeleteZoho_Fields",
37930 "group": "Zoho_Fields",
37931 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37932 "version": "0.0.0",
37933 "filename": "server/api/intZohoField/index.js",
37934 "groupTitle": "Zoho_Fields"
37938 "url": "/api/integrations/zoho/fields",
37939 "title": "Gets a list of Zoho Fields",
37942 "title": "Example usage:",
37943 "content": "curl https://{domain}/api/integrations/zoho/fields -v -u {name}:{password}",
37947 "name": "GetZoho_Fields",
37948 "group": "Zoho_Fields",
37949 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
37950 "version": "0.0.0",
37951 "filename": "server/api/intZohoField/index.js",
37952 "groupTitle": "Zoho_Fields"
37956 "url": "/api/integrations/zoho/fields/{id}",
37957 "title": "Gets a single Zoho Field",
37960 "title": "Example usage:",
37961 "content": "curl https://{domain}/api/integrations/zoho/fields/{id} -v -u {name}:{password}",
37965 "name": "ShowZoho_Fields",
37966 "group": "Zoho_Fields",
37967 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37968 "version": "0.0.0",
37969 "filename": "server/api/intZohoField/index.js",
37970 "groupTitle": "Zoho_Fields"
37974 "url": "/api/integrations/zoho/fields/{id}",
37975 "title": "Update an existing Zoho Field",
37978 "title": "Example usage:",
37979 "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",
37983 "name": "updateZoho_Fields",
37984 "group": "Zoho_Fields",
37985 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37986 "version": "0.0.0",
37987 "filename": "server/api/intZohoField/index.js",
37988 "groupTitle": "Zoho_Fields"
37993 "title": "Creates a new Cdr",
37996 "title": "Example usage:",
37997 "content": "curl https://{domain}/api/cdr -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
38001 "name": "CreateCdrs",
38010 "field": "calldate",
38038 "field": "dcontext",
38045 "field": "channel",
38052 "field": "dstchannel",
38059 "field": "lastapp",
38066 "field": "lastdata",
38073 "field": "duration",
38080 "field": "billsec",
38087 "field": "disposition",
38094 "field": "amaflags",
38101 "field": "accountcode",
38108 "field": "userfield",
38115 "field": "uniqueid",
38122 "field": "linkedid",
38129 "field": "sequence",
38136 "field": "peeraccount",
38156 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38157 "version": "0.0.0",
38158 "filename": "server/api/cdr/index.js",
38159 "groupTitle": "cdr"
38163 "url": "/api/cdr/{id}",
38164 "title": "Deletes a Cdr",
38167 "title": "Example usage:",
38168 "content": "curl https://{domain}/api/cdr/{id} -v -u {name}:{password} -X DELETE",
38172 "name": "DeleteCdrs",
38174 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38175 "version": "0.0.0",
38176 "filename": "server/api/cdr/index.js",
38177 "groupTitle": "cdr"
38181 "url": "/api/cdr/describe",
38182 "title": "Gets table info about Cdrs",
38185 "title": "Example usage:",
38186 "content": "curl https://{domain}/api/cdr/describe -v -u {name}:{password}",
38190 "name": "DescribeCdrs",
38192 "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>",
38193 "version": "0.0.0",
38194 "filename": "server/api/cdr/index.js",
38195 "groupTitle": "cdr"
38200 "title": "Gets a list of Cdrs",
38203 "title": "Example usage:",
38204 "content": "curl https://{domain}/api/cdr -v -u {name}:{password}",
38210 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
38211 "version": "0.0.0",
38212 "filename": "server/api/cdr/index.js",
38213 "groupTitle": "cdr"
38217 "url": "/api/cdr/{id}",
38218 "title": "Gets a single Cdr",
38221 "title": "Example usage:",
38222 "content": "curl https://{domain}/api/cdr/{id} -v -u {name}:{password}",
38226 "name": "ShowCdrs",
38228 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38229 "version": "0.0.0",
38230 "filename": "server/api/cdr/index.js",
38231 "groupTitle": "cdr"
38235 "url": "/api/cdr/{id}",
38236 "title": "Update an existing Cdr",
38239 "title": "Example usage:",
38240 "content": "curl https://{domain}/api/cdr/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
38244 "name": "updateCdrs",
38246 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38247 "version": "0.0.0",
38248 "filename": "server/api/cdr/index.js",
38249 "groupTitle": "cdr"
38253 "url": "/api/voiceQueuesLog",
38254 "title": "Creates a new VoiceQueuesLog",
38257 "title": "Example usage:",
38258 "content": "curl https://{domain}/api/voiceQueuesLog -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
38262 "name": "CreateVoiceQueuesLogs",
38263 "group": "voiceQueuesLog",
38285 "field": "queuename",
38354 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38355 "version": "0.0.0",
38356 "filename": "server/api/voiceQueuesLog/index.js",
38357 "groupTitle": "voiceQueuesLog"
38361 "url": "/api/voiceQueuesLog/{id}",
38362 "title": "Deletes a VoiceQueuesLog",
38365 "title": "Example usage:",
38366 "content": "curl https://{domain}/api/voiceQueuesLog/{id} -v -u {name}:{password} -X DELETE",
38370 "name": "DeleteVoiceQueuesLogs",
38371 "group": "voiceQueuesLog",
38372 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38373 "version": "0.0.0",
38374 "filename": "server/api/voiceQueuesLog/index.js",
38375 "groupTitle": "voiceQueuesLog"
38379 "url": "/api/voiceQueuesLog",
38380 "title": "Gets a list of VoiceQueuesLogs",
38383 "title": "Example usage:",
38384 "content": "curl https://{domain}/api/voiceQueuesLog -v -u {name}:{password}",
38388 "name": "GetVoiceQueuesLogs",
38389 "group": "voiceQueuesLog",
38390 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
38391 "version": "0.0.0",
38392 "filename": "server/api/voiceQueuesLog/index.js",
38393 "groupTitle": "voiceQueuesLog"
38397 "url": "/api/voiceQueuesLog/{id}",
38398 "title": "Gets a single VoiceQueuesLog",
38401 "title": "Example usage:",
38402 "content": "curl https://{domain}/api/voiceQueuesLog/{id} -v -u {name}:{password}",
38406 "name": "ShowVoiceQueuesLogs",
38407 "group": "voiceQueuesLog",
38408 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38409 "version": "0.0.0",
38410 "filename": "server/api/voiceQueuesLog/index.js",
38411 "groupTitle": "voiceQueuesLog"
38415 "url": "/api/voiceQueuesLog/{id}",
38416 "title": "Update an existing VoiceQueuesLog",
38419 "title": "Example usage:",
38420 "content": "curl https://{domain}/api/voiceQueuesLog/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
38424 "name": "updateVoiceQueuesLogs",
38425 "group": "voiceQueuesLog",
38426 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38427 "version": "0.0.0",
38428 "filename": "server/api/voiceQueuesLog/index.js",
38429 "groupTitle": "voiceQueuesLog"