4 "url": "/api/actions/{id}",
5 "title": "Deletes a Action",
8 "title": "Example usage:",
9 "content": "curl https://{domain}/api/actions/{id} -v -u {name}:{password} -X DELETE",
13 "name": "DeleteActions",
15 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17 "filename": "server/api/action/index.js",
18 "groupTitle": "Actions"
22 "url": "/api/actions/{id}",
23 "title": "Update an existing Action",
26 "title": "Example usage:",
27 "content": "curl https://{domain}/api/actions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
31 "name": "updateActions",
33 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35 "filename": "server/api/action/index.js",
36 "groupTitle": "Actions"
40 "url": "/api/analytics/custom_reports",
41 "title": "Creates a new Analytic Custom Report",
44 "title": "Example usage:",
45 "content": "curl https://{domain}/api/analytics/custom_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
49 "name": "CreateAnalytic_Custom_Reports",
50 "group": "Analytic_Custom_Reports",
65 "field": "description",
86 "field": "conditions",
99 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
101 "filename": "server/api/analyticCustomReport/index.js",
102 "groupTitle": "Analytic_Custom_Reports"
106 "url": "/api/analytics/custom_reports/{id}",
107 "title": "Deletes a Analytic Custom Report",
110 "title": "Example usage:",
111 "content": "curl https://{domain}/api/analytics/custom_reports/{id} -v -u {name}:{password} -X DELETE",
115 "name": "DeleteAnalytic_Custom_Reports",
116 "group": "Analytic_Custom_Reports",
117 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
119 "filename": "server/api/analyticCustomReport/index.js",
120 "groupTitle": "Analytic_Custom_Reports"
124 "url": "/api/analytics/custom_reports",
125 "title": "Gets a list of Analytic Custom Reports",
128 "title": "Example usage:",
129 "content": "curl https://{domain}/api/analytics/custom_reports -v -u {name}:{password}",
133 "name": "GetAnalytic_Custom_Reports",
134 "group": "Analytic_Custom_Reports",
135 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/custom_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/custom_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/custom_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/custom_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/custom_reports?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
137 "filename": "server/api/analyticCustomReport/index.js",
138 "groupTitle": "Analytic_Custom_Reports"
142 "url": "/api/analytics/custom_reports/{id}",
143 "title": "Gets a single Analytic Custom Report",
146 "title": "Example usage:",
147 "content": "curl https://{domain}/api/analytics/custom_reports/{id} -v -u {name}:{password}",
151 "name": "ShowAnalytic_Custom_Reports",
152 "group": "Analytic_Custom_Reports",
153 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
155 "filename": "server/api/analyticCustomReport/index.js",
156 "groupTitle": "Analytic_Custom_Reports"
160 "url": "/api/analytics/custom_reports/{id}/preview",
161 "title": "Report Preview",
164 "title": "Example usage:",
165 "content": "curl https://{domain}/api/analytics/custom_reports/{id}/preview -v -u {name}:{password} -X GET",
170 "group": "Analytic_Custom_Reports",
171 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
173 "filename": "server/api/analyticCustomReport/index.js",
174 "groupTitle": "Analytic_Custom_Reports"
178 "url": "/api/analytics/custom_reports/{id}/query",
179 "title": "Report Query SQL",
182 "title": "Example usage:",
183 "content": "curl https://{domain}/api/analytics/custom_reports/{id}/query -v -u {name}:{password} -X GET",
188 "group": "Analytic_Custom_Reports",
189 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
191 "filename": "server/api/analyticCustomReport/index.js",
192 "groupTitle": "Analytic_Custom_Reports"
196 "url": "/api/analytics/custom_reports/{id}/run",
197 "title": "Report Run",
200 "title": "Example usage:",
201 "content": "curl https://{domain}/api/analytics/custom_reports/{id}/run -v -u {name}:{password} -X GET",
206 "group": "Analytic_Custom_Reports",
207 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
209 "filename": "server/api/analyticCustomReport/index.js",
210 "groupTitle": "Analytic_Custom_Reports"
214 "url": "/api/analytics/custom_reports/{id}",
215 "title": "Update an existing Analytic Custom Report",
218 "title": "Example usage:",
219 "content": "curl https://{domain}/api/analytics/custom_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
223 "name": "updateAnalytic_Custom_Reports",
224 "group": "Analytic_Custom_Reports",
225 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
227 "filename": "server/api/analyticCustomReport/index.js",
228 "groupTitle": "Analytic_Custom_Reports"
232 "url": "/api/analytics/default_reports",
233 "title": "Creates a new Analytic Default Report",
236 "title": "Example usage:",
237 "content": "curl https://{domain}/api/analytics/default_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
241 "name": "CreateAnalytic_Default_Reports",
242 "group": "Analytic_Default_Reports",
257 "field": "description",
278 "field": "conditions",
291 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
293 "filename": "server/api/analyticDefaultReport/index.js",
294 "groupTitle": "Analytic_Default_Reports"
298 "url": "/api/analytics/default_reports/{id}",
299 "title": "Deletes a Analytic Default Report",
302 "title": "Example usage:",
303 "content": "curl https://{domain}/api/analytics/default_reports/{id} -v -u {name}:{password} -X DELETE",
307 "name": "DeleteAnalytic_Default_Reports",
308 "group": "Analytic_Default_Reports",
309 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
311 "filename": "server/api/analyticDefaultReport/index.js",
312 "groupTitle": "Analytic_Default_Reports"
316 "url": "/api/analytics/default_reports",
317 "title": "Gets a list of Analytic Default Reports",
320 "title": "Example usage:",
321 "content": "curl https://{domain}/api/analytics/default_reports -v -u {name}:{password}",
325 "name": "GetAnalytic_Default_Reports",
326 "group": "Analytic_Default_Reports",
327 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/default_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/default_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/default_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/default_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/default_reports?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
329 "filename": "server/api/analyticDefaultReport/index.js",
330 "groupTitle": "Analytic_Default_Reports"
334 "url": "/api/analytics/default_reports/{id}",
335 "title": "Gets a single Analytic Default Report",
338 "title": "Example usage:",
339 "content": "curl https://{domain}/api/analytics/default_reports/{id} -v -u {name}:{password}",
343 "name": "ShowAnalytic_Default_Reports",
344 "group": "Analytic_Default_Reports",
345 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
347 "filename": "server/api/analyticDefaultReport/index.js",
348 "groupTitle": "Analytic_Default_Reports"
352 "url": "/api/analytics/default_reports/{id}/preview",
353 "title": "Report Preview",
356 "title": "Example usage:",
357 "content": "curl https://{domain}/api/analytics/default_reports/{id}/preview -v -u {name}:{password} -X GET",
362 "group": "Analytic_Default_Reports",
363 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
365 "filename": "server/api/analyticDefaultReport/index.js",
366 "groupTitle": "Analytic_Default_Reports"
370 "url": "/api/analytics/default_reports/{id}/query",
371 "title": "Report Query SQL",
374 "title": "Example usage:",
375 "content": "curl https://{domain}/api/analytics/default_reports/{id}/query -v -u {name}:{password} -X GET",
380 "group": "Analytic_Default_Reports",
381 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
383 "filename": "server/api/analyticDefaultReport/index.js",
384 "groupTitle": "Analytic_Default_Reports"
388 "url": "/api/analytics/default_reports/{id}/run",
389 "title": "Report Run",
392 "title": "Example usage:",
393 "content": "curl https://{domain}/api/analytics/default_reports/{id}/run -v -u {name}:{password} -X GET",
398 "group": "Analytic_Default_Reports",
399 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
401 "filename": "server/api/analyticDefaultReport/index.js",
402 "groupTitle": "Analytic_Default_Reports"
406 "url": "/api/analytics/default_reports/{id}",
407 "title": "Update an existing Analytic Default Report",
410 "title": "Example usage:",
411 "content": "curl https://{domain}/api/analytics/default_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
415 "name": "updateAnalytic_Default_Reports",
416 "group": "Analytic_Default_Reports",
417 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
419 "filename": "server/api/analyticDefaultReport/index.js",
420 "groupTitle": "Analytic_Default_Reports"
424 "url": "/api/analytics/extracted_reports",
425 "title": "Creates a new Analytic Extracted Report",
428 "title": "Example usage:",
429 "content": "curl https://{domain}/api/analytics/extracted_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
433 "name": "CreateAnalytic_Extacted_Reports",
434 "group": "Analytic_Extracted_Reports",
475 "field": "startDate",
514 "field": "reportType",
520 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
522 "filename": "server/api/analyticExtractedReport/index.js",
523 "groupTitle": "Analytic_Extracted_Reports"
527 "url": "/api/analytics/extracted_reports/{id}",
528 "title": "Deletes a Analytic Extracted Report",
531 "title": "Example usage:",
532 "content": "curl https://{domain}/api/analytics/extracted_reports/{id} -v -u {name}:{password} -X DELETE",
536 "name": "DeleteAnalytic_Extacted_Reports",
537 "group": "Analytic_Extracted_Reports",
538 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
540 "filename": "server/api/analyticExtractedReport/index.js",
541 "groupTitle": "Analytic_Extracted_Reports"
545 "url": "/api/analytics/extracted_reports",
546 "title": "Gets a list of Analytic Extacted Reports",
549 "title": "Example usage:",
550 "content": "curl https://{domain}/api/analytics/extracted_reports -v -u {name}:{password}",
554 "name": "GetAnalytic_Extacted_Reports",
555 "group": "Analytic_Extracted_Reports",
556 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/extracted_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/extracted_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/extracted_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/extracted_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/extracted_reports?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
558 "filename": "server/api/analyticExtractedReport/index.js",
559 "groupTitle": "Analytic_Extracted_Reports"
563 "url": "/api/analytics/extracted_reports/{id}",
564 "title": "Gets a single Analytic Extracted Report",
567 "title": "Example usage:",
568 "content": "curl https://{domain}/api/analytics/extracted_reports/{id} -v -u {name}:{password}",
572 "name": "ShowAnalytic_Extacted_Reports",
573 "group": "Analytic_Extracted_Reports",
574 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
576 "filename": "server/api/analyticExtractedReport/index.js",
577 "groupTitle": "Analytic_Extracted_Reports"
581 "url": "/api/analytics/extracted_reports/{id}/download",
582 "title": "Download Extracted Report",
585 "title": "Example usage:",
586 "content": "curl https://{domain}/api/analytics/extracted_reports/{id}/download -v -u {name}:{password} -X GET",
591 "group": "Analytic_Extracted_Reports",
592 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
594 "filename": "server/api/analyticExtractedReport/index.js",
595 "groupTitle": "Analytic_Extracted_Reports"
599 "url": "/api/analytics/extracted_reports/{id}",
600 "title": "Update an existing Analytic Extracted Report",
603 "title": "Example usage:",
604 "content": "curl https://{domain}/api/analytics/extracted_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
608 "name": "updateAnalytic_Extacted_Reports",
609 "group": "Analytic_Extracted_Reports",
610 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
612 "filename": "server/api/analyticExtractedReport/index.js",
613 "groupTitle": "Analytic_Extracted_Reports"
617 "url": "/api/analytics/field_reports/create_many",
618 "title": "Creates many Analytic Field Reports",
621 "title": "Example usage:",
622 "content": "curl https://{domain}/api/analytics/field_reports/create_many -d '[{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}]' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
626 "name": "BulkCreateAnalytic_Field_Reports",
627 "group": "Analytic_Field_Reports",
683 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
685 "filename": "server/api/analyticFieldReport/index.js",
686 "groupTitle": "Analytic_Field_Reports"
690 "url": "/api/analytics/field_reports/destroy_many?ids={ids}",
691 "title": "Deletes many Analytic Field Reports",
694 "title": "Example usage:",
695 "content": "curl https://{domain}/api/analytics/field_reports/destroy_many?ids=1&ids=2&ids=3 -v -u {name}:{password} -X DELETE",
699 "name": "BulkDeleteAnalytic_Field_Reports",
700 "group": "Analytic_Field_Reports",
701 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
703 "filename": "server/api/analyticFieldReport/index.js",
704 "groupTitle": "Analytic_Field_Reports"
708 "url": "/api/analytics/field_reports",
709 "title": "Creates a new Analytic Field Report",
712 "title": "Example usage:",
713 "content": "curl https://{domain}/api/analytics/field_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
717 "name": "CreateAnalytic_Field_Reports",
718 "group": "Analytic_Field_Reports",
774 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
776 "filename": "server/api/analyticFieldReport/index.js",
777 "groupTitle": "Analytic_Field_Reports"
781 "url": "/api/analytics/field_reports/{id}",
782 "title": "Deletes a Analytic Field Report",
785 "title": "Example usage:",
786 "content": "curl https://{domain}/api/analytics/field_reports/{id} -v -u {name}:{password} -X DELETE",
790 "name": "DeleteAnalytic_Field_Reports",
791 "group": "Analytic_Field_Reports",
792 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
794 "filename": "server/api/analyticFieldReport/index.js",
795 "groupTitle": "Analytic_Field_Reports"
799 "url": "/api/analytics/field_reports",
800 "title": "Gets a list of Analytic Field Reports",
803 "title": "Example usage:",
804 "content": "curl https://{domain}/api/analytics/field_reports -v -u {name}:{password}",
808 "name": "GetAnalytic_Field_Reports",
809 "group": "Analytic_Field_Reports",
810 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/field_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/field_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/field_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/field_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/field_reports?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
812 "filename": "server/api/analyticFieldReport/index.js",
813 "groupTitle": "Analytic_Field_Reports"
817 "url": "/api/analytics/field_reports/{id}",
818 "title": "Gets a single Analytic Field Report",
821 "title": "Example usage:",
822 "content": "curl https://{domain}/api/analytics/field_reports/{id} -v -u {name}:{password}",
826 "name": "ShowAnalytic_Field_Reports",
827 "group": "Analytic_Field_Reports",
828 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
830 "filename": "server/api/analyticFieldReport/index.js",
831 "groupTitle": "Analytic_Field_Reports"
835 "url": "/api/analytics/field_reports/{id}/create_many",
836 "title": "Rewrite fields set",
839 "title": "Example usage:",
840 "content": "curl https://{domain}/api/analytics/field_reports/{id}/create_many -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
845 "group": "Analytic_Field_Reports",
846 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
848 "filename": "server/api/analyticFieldReport/index.js",
849 "groupTitle": "Analytic_Field_Reports"
853 "url": "/api/analytics/field_reports/{id}",
854 "title": "Update an existing Analytic Field Report",
857 "title": "Example usage:",
858 "content": "curl https://{domain}/api/analytics/field_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
862 "name": "updateAnalytic_Field_Reports",
863 "group": "Analytic_Field_Reports",
864 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
866 "filename": "server/api/analyticFieldReport/index.js",
867 "groupTitle": "Analytic_Field_Reports"
871 "url": "/api/analytics/metrics",
872 "title": "Creates a new Analytic Metrics",
875 "title": "Example usage:",
876 "content": "curl https://{domain}/api/analytics/metrics -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
880 "name": "CreateAnalytic_Metric",
881 "group": "Analytic_Metrics",
910 "field": "description",
916 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
918 "filename": "server/api/analyticMetric/index.js",
919 "groupTitle": "Analytic_Metrics"
923 "url": "/api/analytics/metrics/{id}",
924 "title": "Deletes a Analytic Metrics",
927 "title": "Example usage:",
928 "content": "curl https://{domain}/api/analytics/metrics/{id} -v -u {name}:{password} -X DELETE",
932 "name": "DeleteAnalytic_Metric",
933 "group": "Analytic_Metrics",
934 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
936 "filename": "server/api/analyticMetric/index.js",
937 "groupTitle": "Analytic_Metrics"
941 "url": "/api/analytics/metrics",
942 "title": "Gets a list of Analytic Metric",
945 "title": "Example usage:",
946 "content": "curl https://{domain}/api/analytics/metrics -v -u {name}:{password}",
950 "name": "GetAnalytic_Metric",
951 "group": "Analytic_Metrics",
952 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/metrics?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/metrics?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/metrics?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/metrics?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/metrics?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
954 "filename": "server/api/analyticMetric/index.js",
955 "groupTitle": "Analytic_Metrics"
959 "url": "/api/analytics/metrics/{id}",
960 "title": "Gets a single Analytic Metrics",
963 "title": "Example usage:",
964 "content": "curl https://{domain}/api/analytics/metrics/{id} -v -u {name}:{password}",
968 "name": "ShowAnalytic_Metric",
969 "group": "Analytic_Metrics",
970 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
972 "filename": "server/api/analyticMetric/index.js",
973 "groupTitle": "Analytic_Metrics"
977 "url": "/api/analytics/metrics/{id}",
978 "title": "Update an existing Analytic Metrics",
981 "title": "Example usage:",
982 "content": "curl https://{domain}/api/analytics/metrics/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
986 "name": "updateAnalytic_Metric",
987 "group": "Analytic_Metrics",
988 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
990 "filename": "server/api/analyticMetric/index.js",
991 "groupTitle": "Analytic_Metrics"
995 "url": "/api/analytics/tree_reports",
996 "title": "Creates a new Analytic Tree Report",
999 "title": "Example usage:",
1000 "content": "curl https://{domain}/api/analytics/tree_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1004 "name": "CreateAnalytic_Tree_Reports",
1005 "group": "Analytic_Tree_Reports",
1019 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1021 "filename": "server/api/analyticTreeReport/index.js",
1022 "groupTitle": "Analytic_Tree_Reports"
1026 "url": "/api/analytics/tree_reports/{id}",
1027 "title": "Deletes a Analytic Tree Report",
1030 "title": "Example usage:",
1031 "content": "curl https://{domain}/api/analytics/tree_reports/{id} -v -u {name}:{password} -X DELETE",
1035 "name": "DeleteAnalytic_Tree_Reports",
1036 "group": "Analytic_Tree_Reports",
1037 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1039 "filename": "server/api/analyticTreeReport/index.js",
1040 "groupTitle": "Analytic_Tree_Reports"
1044 "url": "/api/analytics/tree_reports",
1045 "title": "Gets a list of Analytic Tree Reports",
1048 "title": "Example usage:",
1049 "content": "curl https://{domain}/api/analytics/tree_reports -v -u {name}:{password}",
1053 "name": "GetAnalytic_Tree_Reports",
1054 "group": "Analytic_Tree_Reports",
1055 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/tree_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/tree_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/tree_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/tree_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/tree_reports?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1057 "filename": "server/api/analyticTreeReport/index.js",
1058 "groupTitle": "Analytic_Tree_Reports"
1062 "url": "/api/analytics/tree_reports/{id}",
1063 "title": "Gets a single Analytic Tree Report",
1066 "title": "Example usage:",
1067 "content": "curl https://{domain}/api/analytics/tree_reports/{id} -v -u {name}:{password}",
1071 "name": "ShowAnalytic_Tree_Reports",
1072 "group": "Analytic_Tree_Reports",
1073 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1075 "filename": "server/api/analyticTreeReport/index.js",
1076 "groupTitle": "Analytic_Tree_Reports"
1080 "url": "/api/analytics/tree_reports/{id}",
1081 "title": "Update an existing Analytic Tree Report",
1084 "title": "Example usage:",
1085 "content": "curl https://{domain}/api/analytics/tree_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1089 "name": "updateAnalytic_Tree_Reports",
1090 "group": "Analytic_Tree_Reports",
1091 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1093 "filename": "server/api/analyticTreeReport/index.js",
1094 "groupTitle": "Analytic_Tree_Reports"
1098 "url": "/api/attachments/clone",
1099 "title": "Clone an existing Attachment",
1102 "title": "Example usage:",
1103 "content": "curl https://{domain}/api/attachments/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1107 "name": "CloneAttachments",
1108 "group": "Attachments",
1109 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1111 "filename": "server/api/attachment/index.js",
1112 "groupTitle": "Attachments"
1116 "url": "/api/attachments/{id}",
1117 "title": "Deletes a Attachment",
1120 "title": "Example usage:",
1121 "content": "curl https://{domain}/api/attachments/{id} -v -u {name}:{password} -X DELETE",
1125 "name": "DeleteAttachments",
1126 "group": "Attachments",
1127 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1129 "filename": "server/api/attachment/index.js",
1130 "groupTitle": "Attachments"
1134 "url": "/api/attachments",
1135 "title": "Gets a list of Attachments",
1138 "title": "Example usage:",
1139 "content": "curl https://{domain}/api/attachments -v -u {name}:{password}",
1143 "name": "GetAttachments",
1144 "group": "Attachments",
1145 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/attachments?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/attachments?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/attachments?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/attachments?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/attachments?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1147 "filename": "server/api/attachment/index.js",
1148 "groupTitle": "Attachments"
1152 "url": "/api/attachments/{id}",
1153 "title": "Gets a single Attachment",
1156 "title": "Example usage:",
1157 "content": "curl https://{domain}/api/attachments/{id} -v -u {name}:{password}",
1161 "name": "ShowAttachments",
1162 "group": "Attachments",
1163 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1165 "filename": "server/api/attachment/index.js",
1166 "groupTitle": "Attachments"
1170 "url": "/api/attachments",
1171 "title": "Add attachment",
1174 "title": "Example usage:",
1175 "content": "curl https://{domain}/api/attachments -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
1180 "group": "Attachments",
1181 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1183 "filename": "server/api/attachment/index.js",
1184 "groupTitle": "Attachments"
1188 "url": "/api/attachments/:id/download",
1189 "title": "Download attachment",
1192 "title": "Example usage:",
1193 "content": "curl https://{domain}/api/attachments/:id/download -v -u {name}:{password} -X GET",
1198 "group": "Attachments",
1199 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1201 "filename": "server/api/attachment/index.js",
1202 "groupTitle": "Attachments"
1206 "url": "/api/chat/interactions/{id}/attachment_download",
1207 "title": "Download attachment",
1210 "title": "Example usage:",
1211 "content": "curl https://{domain}/api/chat/interactions/{id}/attachment_download -v -u {name}:{password} -X GET",
1216 "group": "Attachments",
1217 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1219 "filename": "server/api/chatInteraction/index.js",
1220 "groupTitle": "Attachments"
1224 "url": "/api/attachments/{id}",
1225 "title": "Update an existing Attachment",
1228 "title": "Example usage:",
1229 "content": "curl https://{domain}/api/attachments/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1233 "name": "updateAttachments",
1234 "group": "Attachments",
1235 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1237 "filename": "server/api/attachment/index.js",
1238 "groupTitle": "Attachments"
1242 "url": "/api/auth/local/forgot",
1243 "title": "Creates a new password reset token",
1246 "title": "Example usage:",
1247 "content": "curl https://{domain}/api/auth/local/forgot -d '{\"email\": \"john.doe@xcally.com\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1251 "name": "Local_Forgot_Password",
1252 "group": "Authentication",
1266 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1268 "filename": "server/api/authLocal/index.js",
1269 "groupTitle": "Authentication"
1273 "url": "/api/auth/local/reset/:token",
1274 "title": "Reset user password",
1277 "title": "Example usage:",
1278 "content": "curl https://{domain}/api/auth/local/reset/94b422c1fkdjhg766a198da6997yu6gcc963641d -d '{\"password\": \"My_newP@ssw0rd\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1282 "name": "Local_Reset_Password",
1283 "group": "Authentication",
1291 "field": "password",
1297 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1299 "filename": "server/api/authLocal/index.js",
1300 "groupTitle": "Authentication"
1304 "url": "/api/auth/google",
1305 "title": "Creates a new User token",
1308 "title": "Example usage:",
1309 "content": "curl https://{domain}/api/auth/google -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1313 "name": "Local_login",
1314 "group": "Authentication",
1329 "field": "password",
1335 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1337 "filename": "server/api/authGoogle/index.js",
1338 "groupTitle": "Authentication"
1342 "url": "/api/auth/local",
1343 "title": "Creates a new User token",
1346 "title": "Example usage:",
1347 "content": "curl https://{domain}/api/auth/local -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1351 "name": "Local_login",
1352 "group": "Authentication",
1367 "field": "password",
1373 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1375 "filename": "server/api/authLocal/index.js",
1376 "groupTitle": "Authentication"
1380 "url": "/api/automations",
1381 "title": "Creates a new Automation",
1384 "title": "Example usage:",
1385 "content": "curl https://{domain}/api/automations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1389 "name": "CreateAutomations",
1390 "group": "Automations",
1412 "field": "description",
1432 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1434 "filename": "server/api/automation/index.js",
1435 "groupTitle": "Automations"
1439 "url": "/api/automations/{id}",
1440 "title": "Deletes a Automation",
1443 "title": "Example usage:",
1444 "content": "curl https://{domain}/api/automations/{id} -v -u {name}:{password} -X DELETE",
1448 "name": "DeleteAutomations",
1449 "group": "Automations",
1450 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1452 "filename": "server/api/automation/index.js",
1453 "groupTitle": "Automations"
1457 "url": "/api/automations",
1458 "title": "Gets a list of Automations",
1461 "title": "Example usage:",
1462 "content": "curl https://{domain}/api/automations -v -u {name}:{password}",
1466 "name": "GetAutomations",
1467 "group": "Automations",
1468 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/automations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/automations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/automations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/automations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/automations?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1470 "filename": "server/api/automation/index.js",
1471 "groupTitle": "Automations"
1475 "url": "/api/automations/{id}",
1476 "title": "Gets a single Automation",
1479 "title": "Example usage:",
1480 "content": "curl https://{domain}/api/automations/{id} -v -u {name}:{password}",
1484 "name": "ShowAutomations",
1485 "group": "Automations",
1486 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1488 "filename": "server/api/automation/index.js",
1489 "groupTitle": "Automations"
1493 "url": "/api/automations/{id}/actions",
1494 "title": "Creates new actions",
1497 "title": "Example usage:",
1498 "content": "curl https://{domain}/api/automations/{id}/actions -d '[{\"firstName\": \"John Doe\", \"email\": \"john.doe@xcally.com\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
1502 "name": "addActions",
1503 "group": "Automations",
1519 "description": "<p>Allowed values: contactManager, integration, motionbar, jscripty, urlForward, browser, bot, script</p>"
1526 "description": "<p>contactManager[ListId], integration[intName(zendesk)], motionbar[Popup(0),URL(1),WinApp(2)], urlForward[GET,POST], browser[TemplateId(0),URL(1)]</p>"
1533 "description": "<p>integration[AccountId], motionbar[TemplateId,URL,WinAppPath], urlForward[URL]</p>"
1540 "description": "<p>motionbar[NULL,NULL,WinAppArguments]</p>"
1573 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1575 "filename": "server/api/automation/index.js",
1576 "groupTitle": "Automations"
1580 "url": "/api/automations/{id}/conditions",
1581 "title": "Creates new conditions",
1584 "title": "Example usage:",
1585 "content": "curl https://{domain}/api/automations/{id}/conditions -d '[{\"firstName\": \"John Doe\", \"email\": \"john.doe@xcally.com\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
1589 "name": "addConditions",
1590 "group": "Automations",
1612 "field": "operator",
1625 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1627 "filename": "server/api/automation/index.js",
1628 "groupTitle": "Automations"
1632 "url": "/api/automations/{id}/actions",
1633 "title": "Gets Automation Actions",
1636 "title": "Example usage:",
1637 "content": "curl https://{domain}/api/automations/{id}/actions -v -u {name}:{password} -X GET",
1641 "name": "getActions",
1642 "group": "Automations",
1643 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1645 "filename": "server/api/automation/index.js",
1646 "groupTitle": "Automations"
1650 "url": "/api/automations/{id}/conditions",
1651 "title": "Gets Automation Conditions",
1654 "title": "Example usage:",
1655 "content": "curl https://{domain}/api/automations/{id}/conditions -v -u {name}:{password} -X GET",
1659 "name": "getConditions",
1660 "group": "Automations",
1661 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1663 "filename": "server/api/automation/index.js",
1664 "groupTitle": "Automations"
1668 "url": "/api/automations/{id}",
1669 "title": "Update an existing Automation",
1672 "title": "Example usage:",
1673 "content": "curl https://{domain}/api/automations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1677 "name": "updateAutomations",
1678 "group": "Automations",
1679 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1681 "filename": "server/api/automation/index.js",
1682 "groupTitle": "Automations"
1686 "url": "/api/canned_answers",
1687 "title": "Create a new canned answer",
1690 "title": "Example usage:",
1691 "content": "curl https://{domain}/api/canned_answers -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
1696 "group": "Canned_Answers",
1697 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1699 "filename": "server/api/cannedAnswer/index.js",
1700 "groupTitle": "Canned_Answers"
1704 "url": "/api/canned_answers/{id}",
1705 "title": "Deletes a Canned Answer",
1708 "title": "Example usage:",
1709 "content": "curl https://{domain}/api/canned_answers/{id} -v -u {name}:{password} -X DELETE",
1713 "name": "DeleteCanned_Answers",
1714 "group": "Canned_Answers",
1715 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1717 "filename": "server/api/cannedAnswer/index.js",
1718 "groupTitle": "Canned_Answers"
1722 "url": "/api/canned_answers",
1723 "title": "Gets a list of Canned Answers",
1726 "title": "Example usage:",
1727 "content": "curl https://{domain}/api/canned_answers -v -u {name}:{password}",
1731 "name": "GetCanned_Answers",
1732 "group": "Canned_Answers",
1733 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/canned_answers?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/canned_answers?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/canned_answers?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/canned_answers?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/canned_answers?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1735 "filename": "server/api/cannedAnswer/index.js",
1736 "groupTitle": "Canned_Answers"
1740 "url": "/api/canned_answers/{id}",
1741 "title": "Gets a single Canned Answer",
1744 "title": "Example usage:",
1745 "content": "curl https://{domain}/api/canned_answers/{id} -v -u {name}:{password}",
1749 "name": "ShowCanned_Answers",
1750 "group": "Canned_Answers",
1751 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1753 "filename": "server/api/cannedAnswer/index.js",
1754 "groupTitle": "Canned_Answers"
1758 "url": "/api/canned_answers/{id}",
1759 "title": "Update an existing Canned Answer",
1762 "title": "Example usage:",
1763 "content": "curl https://{domain}/api/canned_answers/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1767 "name": "updateCanned_Answers",
1768 "group": "Canned_Answers",
1769 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1771 "filename": "server/api/cannedAnswer/index.js",
1772 "groupTitle": "Canned_Answers"
1776 "url": "/chat/internal/users",
1777 "title": "Gets Users Last Messages",
1780 "title": "Example usage:",
1781 "content": "curl https://{domain}/chat/internal/users -v -u {name}:{password} -X GET",
1785 "name": "getLastUsersMessages",
1786 "group": "ChatInternalMessage",
1787 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1789 "filename": "server/api/chatInternalMessage/index.js",
1790 "groupTitle": "ChatInternalMessage"
1794 "url": "/api/chat/applications/{id}",
1795 "title": "Deletes a Application",
1798 "title": "Example usage:",
1799 "content": "curl https://{domain}/api/chat/applications/{id} -v -u {name}:{password} -X DELETE",
1803 "name": "DeleteApplications",
1804 "group": "Chat_Applications",
1805 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1807 "filename": "server/api/chatApplication/index.js",
1808 "groupTitle": "Chat_Applications"
1812 "url": "/api/chat/applications/{id}",
1813 "title": "Gets a single Application",
1816 "title": "Example usage:",
1817 "content": "curl https://{domain}/api/chat/applications/{id} -v -u {name}:{password}",
1821 "name": "ShowApplications",
1822 "group": "Chat_Applications",
1823 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1825 "filename": "server/api/chatApplication/index.js",
1826 "groupTitle": "Chat_Applications"
1830 "url": "/api/chat/applications/{id}",
1831 "title": "Update an existing Application",
1834 "title": "Example usage:",
1835 "content": "curl https://{domain}/api/chat/applications/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1839 "name": "updateApplications",
1840 "group": "Chat_Applications",
1841 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1843 "filename": "server/api/chatApplication/index.js",
1844 "groupTitle": "Chat_Applications"
1848 "url": "/api/chat/groups",
1849 "title": "Creates a new Group",
1852 "title": "Example usage:",
1853 "content": "curl https://{domain}/api/chat/groups -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1857 "name": "CreateGroups",
1858 "group": "Chat_Groups",
1873 "field": "description",
1886 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1888 "filename": "server/api/chatGroup/index.js",
1889 "groupTitle": "Chat_Groups"
1893 "url": "/api/chat/groups/{id}",
1894 "title": "Deletes a Group",
1897 "title": "Example usage:",
1898 "content": "curl https://{domain}/api/chat/groups/{id} -v -u {name}:{password} -X DELETE",
1902 "name": "DeleteGroups",
1903 "group": "Chat_Groups",
1904 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1906 "filename": "server/api/chatGroup/index.js",
1907 "groupTitle": "Chat_Groups"
1911 "url": "/api/chat/groups/describe",
1912 "title": "Gets table info about Groups",
1915 "title": "Example usage:",
1916 "content": "curl https://{domain}/api/chat/groups/describe -v -u {name}:{password}",
1920 "name": "DescribeGroups",
1921 "group": "Chat_Groups",
1922 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1924 "filename": "server/api/chatGroup/index.js",
1925 "groupTitle": "Chat_Groups"
1929 "url": "/api/chat/groups",
1930 "title": "Gets a list of Groups",
1933 "title": "Example usage:",
1934 "content": "curl https://{domain}/api/chat/groups -v -u {name}:{password}",
1938 "name": "GetGroups",
1939 "group": "Chat_Groups",
1940 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/groups?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/groups?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/groups?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/groups?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/groups?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1942 "filename": "server/api/chatGroup/index.js",
1943 "groupTitle": "Chat_Groups"
1947 "url": "/api/chat/groups/{id}/members",
1948 "title": "Removes members from a group",
1951 "title": "Example usage:",
1952 "content": "curl https://{domain}/api/chat/groups/{id}/members?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
1956 "name": "RemoveMembers",
1957 "group": "Chat_Groups",
1958 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1960 "filename": "server/api/chatGroup/index.js",
1961 "groupTitle": "Chat_Groups"
1965 "url": "/api/chat/groups/{id}",
1966 "title": "Gets a single Group",
1969 "title": "Example usage:",
1970 "content": "curl https://{domain}/api/chat/groups/{id} -v -u {name}:{password}",
1974 "name": "ShowGroups",
1975 "group": "Chat_Groups",
1976 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1978 "filename": "server/api/chatGroup/index.js",
1979 "groupTitle": "Chat_Groups"
1983 "url": "/api/chat/groups/{id}/members",
1984 "title": "Add members to chat group",
1987 "title": "Example usage:",
1988 "content": "curl https://{domain}/api/chat/groups/{id}/members -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
1992 "name": "addMembers",
1993 "group": "Chat_Groups",
1994 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1996 "filename": "server/api/chatGroup/index.js",
1997 "groupTitle": "Chat_Groups"
2001 "url": "/api/chat/groups/{id}/messages",
2002 "title": "Creates a new group message",
2005 "title": "Example usage:",
2006 "content": "curl https://{domain}/api/chat/groups/{id}/messages -d '{\"body\": \"Hi operator!\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2010 "name": "addMessage",
2011 "group": "Chat_Groups",
2012 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2014 "filename": "server/api/chatGroup/index.js",
2015 "groupTitle": "Chat_Groups"
2019 "url": "/api/chat/groups/{id}/members",
2020 "title": "Gets Members",
2023 "title": "Example usage:",
2024 "content": "curl https://{domain}/api/chat/groups/{id}/members -v -u {name}:{password} -X GET",
2028 "name": "getMembers",
2029 "group": "Chat_Groups",
2030 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2032 "filename": "server/api/chatGroup/index.js",
2033 "groupTitle": "Chat_Groups"
2037 "url": "/api/chat/groups/{id}/messages",
2038 "title": "Gets Messages",
2041 "title": "Example usage:",
2042 "content": "curl https://{domain}/api/chat/groups/{id}/messages -v -u {name}:{password} -X GET",
2046 "name": "getMessages",
2047 "group": "Chat_Groups",
2048 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2050 "filename": "server/api/chatGroup/index.js",
2051 "groupTitle": "Chat_Groups"
2055 "url": "/api/chat/groups/{id}/unread",
2056 "title": "Get unread chat group messages",
2059 "title": "Example usage:",
2060 "content": "curl https://{domain}/api/chat/groups/{id}/unread -H 'Content-Type: application/json' -v -u {name}:{password} -X GET",
2065 "group": "Chat_Groups",
2066 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2068 "filename": "server/api/chatGroup/index.js",
2069 "groupTitle": "Chat_Groups"
2073 "url": "/api/chat/groups/{id}",
2074 "title": "Update an existing Group",
2077 "title": "Example usage:",
2078 "content": "curl https://{domain}/api/chat/groups/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
2082 "name": "updateGroups",
2083 "group": "Chat_Groups",
2084 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2086 "filename": "server/api/chatGroup/index.js",
2087 "groupTitle": "Chat_Groups"
2091 "url": "/api/chat/interactions/{id}/tags",
2092 "title": "Add tags to the interaction",
2095 "title": "Example usage:",
2096 "content": "curl https://{domain}/api/chat/interaction/{id}/tags -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2101 "group": "Chat_Interactions",
2102 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2104 "filename": "server/api/chatInteraction/index.js",
2105 "groupTitle": "Chat_Interactions"
2109 "url": "/api/chat/interactions",
2110 "title": "Creates a new Interaction",
2113 "title": "Example usage:",
2114 "content": "curl https://{domain}/api/chat/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
2118 "name": "CreateInteractions",
2119 "group": "Chat_Interactions",
2134 "field": "ratingValue",
2145 "field": "ratingType",
2152 "field": "ratingMessage",
2159 "field": "pathTranscript",
2166 "field": "mailTranscript",
2173 "field": "closedAt",
2180 "field": "disposition",
2187 "field": "secondDisposition",
2194 "field": "thirdDisposition",
2208 "field": "browserName",
2215 "field": "browserVersion",
2229 "field": "osVersion",
2236 "field": "deviceModel",
2243 "field": "deviceVendor",
2250 "field": "deviceType",
2264 "field": "customerIp",
2271 "field": "formData",
2278 "field": "read1stAt",
2285 "field": "lastMsgAt",
2296 "field": "lastMsgDirection",
2303 "field": "closeReason",
2310 "field": "customerPort",
2317 "field": "vidaooSessionId",
2323 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2325 "filename": "server/api/chatInteraction/index.js",
2326 "groupTitle": "Chat_Interactions"
2330 "url": "/api/chat/interactions/{id}",
2331 "title": "Deletes a Interaction",
2334 "title": "Example usage:",
2335 "content": "curl https://{domain}/api/chat/interactions/{id} -v -u {name}:{password} -X DELETE",
2339 "name": "DeleteInteractions",
2340 "group": "Chat_Interactions",
2341 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2343 "filename": "server/api/chatInteraction/index.js",
2344 "groupTitle": "Chat_Interactions"
2348 "url": "/api/chat/interactions/describe",
2349 "title": "Gets table info about Interactions",
2352 "title": "Example usage:",
2353 "content": "curl https://{domain}/api/chat/interactions/describe -v -u {name}:{password}",
2357 "name": "DescribeInteractions",
2358 "group": "Chat_Interactions",
2359 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2361 "filename": "server/api/chatInteraction/index.js",
2362 "groupTitle": "Chat_Interactions"
2366 "url": "/api/chat/interactions",
2367 "title": "Gets a list of Interactions",
2370 "title": "Example usage:",
2371 "content": "curl https://{domain}/api/chat/interactions -v -u {name}:{password}",
2375 "name": "GetInteractions",
2376 "group": "Chat_Interactions",
2377 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/interactions?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/interactions?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/interactions?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/interactions?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/interactions?offset=5&limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
2379 "filename": "server/api/chatInteraction/index.js",
2380 "groupTitle": "Chat_Interactions"
2384 "url": "/api/chat/interactions/{id}/tags",
2385 "title": "Removes tags from interaction",
2388 "title": "Example usage:",
2389 "content": "curl https://{domain}/api/chat/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
2393 "name": "RemoveTags",
2394 "group": "Chat_Interactions",
2395 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2397 "filename": "server/api/chatInteraction/index.js",
2398 "groupTitle": "Chat_Interactions"
2402 "url": "/api/chat/interactions/{id}",
2403 "title": "Gets a single Interaction",
2406 "title": "Example usage:",
2407 "content": "curl https://{domain}/api/chat/interactions/{id} -v -u {name}:{password}",
2411 "name": "ShowInteractions",
2412 "group": "Chat_Interactions",
2413 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2415 "filename": "server/api/chatInteraction/index.js",
2416 "groupTitle": "Chat_Interactions"
2420 "url": "/api/chat/interactions/{id}/abandon",
2421 "title": "Abandon interaction",
2424 "title": "Example usage:",
2425 "content": "curl https://{domain}/api/chat/interactions/{id}/abandon -d '{\"channel\": \"chat\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
2430 "group": "Chat_Interactions",
2431 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <p>This API is used to set as abandon an interaction and stop the routing.</p>",
2433 "filename": "server/api/chatInteraction/index.js",
2434 "groupTitle": "Chat_Interactions"
2438 "url": "/api/chat/interactions/{id}/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",
4388 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4390 "filename": "server/api/chatWebsite/index.js",
4391 "groupTitle": "Chat_Websites"
4395 "url": "/api/chat/websites/{id}",
4396 "title": "Deletes a Website",
4399 "title": "Example usage:",
4400 "content": "curl https://{domain}/api/chat/websites/{id} -v -u {name}:{password} -X DELETE",
4404 "name": "DeleteWebsites",
4405 "group": "Chat_Websites",
4406 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4408 "filename": "server/api/chatWebsite/index.js",
4409 "groupTitle": "Chat_Websites"
4413 "url": "/api/chat/websites/describe",
4414 "title": "Gets table info about Websites",
4417 "title": "Example usage:",
4418 "content": "curl https://{domain}/api/chat/websites/describe -v -u {name}:{password}",
4422 "name": "DescribeWebsites",
4423 "group": "Chat_Websites",
4424 "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>",
4426 "filename": "server/api/chatWebsite/index.js",
4427 "groupTitle": "Chat_Websites"
4431 "url": "/api/chat/websites/{id}/users",
4432 "title": "Gets agents from website",
4435 "title": "Example usage:",
4436 "content": "curl https://{domain}/api/chat/websites/{id}/users -v -u {name}:{password} -X GET",
4440 "name": "GetAgents",
4441 "group": "Chat_Websites",
4442 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4444 "filename": "server/api/chatWebsite/index.js",
4445 "groupTitle": "Chat_Websites"
4449 "url": "/api/chat/websites",
4450 "title": "Gets a list of Websites",
4453 "title": "Example usage:",
4454 "content": "curl https://{domain}/api/chat/websites -v -u {name}:{password}",
4458 "name": "GetWebsites",
4459 "group": "Chat_Websites",
4460 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
4462 "filename": "server/api/chatWebsite/index.js",
4463 "groupTitle": "Chat_Websites"
4467 "url": "/api/chat/websites/{id}/users",
4468 "title": "Removes agents from a website",
4471 "title": "Example usage:",
4472 "content": "curl https://{domain}/api/chat/websites/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
4476 "name": "RemoveAgents",
4477 "group": "Chat_Websites",
4478 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4480 "filename": "server/api/chatWebsite/index.js",
4481 "groupTitle": "Chat_Websites"
4485 "url": "/api/chat/websites/{id}/canned_answers",
4486 "title": "Removes canned answers from account",
4489 "title": "Example usage:",
4490 "content": "curl https://{domain}/api/chat/websites/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
4494 "name": "RemoveAnswers",
4495 "group": "Chat_Websites",
4496 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4498 "filename": "server/api/chatWebsite/index.js",
4499 "groupTitle": "Chat_Websites"
4503 "url": "/api/chat/websites/{id}/dispositions",
4504 "title": "Removes canned answers from account",
4507 "title": "Example usage:",
4508 "content": "curl https://{domain}/api/chat/websites/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
4512 "name": "RemoveDispositions",
4513 "group": "Chat_Websites",
4514 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4516 "filename": "server/api/chatWebsite/index.js",
4517 "groupTitle": "Chat_Websites"
4521 "url": "/api/chat/websites/{id}",
4522 "title": "Gets a single Website",
4525 "title": "Example usage:",
4526 "content": "curl https://{domain}/api/chat/websites/{id} -v -u {name}:{password}",
4530 "name": "ShowWebsites",
4531 "group": "Chat_Websites",
4532 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4534 "filename": "server/api/chatWebsite/index.js",
4535 "groupTitle": "Chat_Websites"
4539 "url": "/api/chat/messages/{id}/accept",
4540 "title": "Accepts message",
4543 "title": "Example usage:",
4544 "content": "curl https://{domain}/api/chat/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
4548 "name": "acceptMessage",
4549 "group": "Chat_Websites",
4550 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4552 "filename": "server/api/chatMessage/index.js",
4553 "groupTitle": "Chat_Websites"
4557 "url": "/api/chat/websites/{id}/canned_answers",
4558 "title": "Creates new canned answer",
4561 "title": "Example usage:",
4562 "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",
4566 "name": "addAnswer",
4567 "group": "Chat_Websites",
4589 "field": "description",
4602 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4604 "filename": "server/api/chatWebsite/index.js",
4605 "groupTitle": "Chat_Websites"
4609 "url": "/api/chat/websites/{id}/applications",
4610 "title": "Creates new applications",
4613 "title": "Example usage:",
4614 "content": "curl https://{domain}/api/chat/websites/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
4618 "name": "addApplications",
4619 "group": "Chat_Websites",
4627 "field": "priority",
4648 "field": "description",
4655 "field": "interval",
4661 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4663 "filename": "server/api/chatWebsite/index.js",
4664 "groupTitle": "Chat_Websites"
4668 "url": "/api/chat/websites/{id}/avatar",
4669 "title": "Add avatar",
4672 "title": "Example usage:",
4673 "content": "curl https://{domain}/api/chat/websites/{id}/avatar -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
4677 "name": "addAvatar",
4678 "group": "Chat_Websites",
4679 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4681 "filename": "server/api/chatWebsite/index.js",
4682 "groupTitle": "Chat_Websites"
4686 "url": "/api/chat/websites/{id}/customer_avatar",
4687 "title": "Add customer avatar",
4690 "title": "Example usage:",
4691 "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",
4695 "name": "addCustomerAvatar",
4696 "group": "Chat_Websites",
4697 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4699 "filename": "server/api/chatWebsite/index.js",
4700 "groupTitle": "Chat_Websites"
4704 "url": "/api/chat/websites/{id}/dispositions",
4705 "title": "Creates new disposition",
4708 "title": "Example usage:",
4709 "content": "curl https://{domain}/api/chat/websites/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
4713 "name": "addDisposition",
4714 "group": "Chat_Websites",
4741 "field": "description",
4747 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4749 "filename": "server/api/chatWebsite/index.js",
4750 "groupTitle": "Chat_Websites"
4754 "url": "/api/chat/accounts/{id}/interactions",
4755 "title": "Creates new interactions",
4758 "title": "Example usage:",
4759 "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",
4763 "name": "addInteraction",
4764 "group": "Chat_Websites",
4779 "field": "ratingValue",
4790 "field": "ratingType",
4797 "field": "ratingMessage",
4804 "field": "pathTranscript",
4811 "field": "mailTranscript",
4818 "field": "closedAt",
4825 "field": "disposition",
4832 "field": "secondDisposition",
4839 "field": "thirdDisposition",
4853 "field": "browserName",
4860 "field": "browserVersion",
4874 "field": "osVersion",
4881 "field": "deviceModel",
4888 "field": "deviceVendor",
4895 "field": "deviceType",
4909 "field": "customerIp",
4916 "field": "formData",
4923 "field": "read1stAt",
4930 "field": "lastMsgAt",
4941 "field": "lastMsgDirection",
4948 "field": "closeReason",
4955 "field": "customerPort",
4962 "field": "vidaooSessionId",
4968 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4970 "filename": "server/api/chatWebsite/index.js",
4971 "groupTitle": "Chat_Websites"
4975 "url": "/api/chat/websites/{id}/logo",
4976 "title": "Add logo",
4979 "title": "Example usage:",
4980 "content": "curl https://{domain}/api/chat/websites/{id}/logo -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
4985 "group": "Chat_Websites",
4986 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4988 "filename": "server/api/chatWebsite/index.js",
4989 "groupTitle": "Chat_Websites"
4993 "url": "/api/chat/websites/{id}/proactive_actions",
4994 "title": "Creates new Proactive Actions",
4997 "title": "Example usage:",
4998 "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",
5002 "name": "addProactiveActions",
5003 "group": "Chat_Websites",
5029 "field": "selector",
5042 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5044 "filename": "server/api/chatWebsite/index.js",
5045 "groupTitle": "Chat_Websites"
5049 "url": "/api/chat/websites/{id}/system_avatar",
5050 "title": "Add system avatar",
5053 "title": "Example usage:",
5054 "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",
5058 "name": "addSystemAvatar",
5059 "group": "Chat_Websites",
5060 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5062 "filename": "server/api/chatWebsite/index.js",
5063 "groupTitle": "Chat_Websites"
5067 "url": "/api/chat/websites/{id}/canned_answers",
5068 "title": "Gets account canned answers",
5071 "title": "Example usage:",
5072 "content": "curl https://{domain}/api/chat/websites/{id}/canned_answers -v -u {name}:{password} -X GET",
5076 "name": "getAnswers",
5077 "group": "Chat_Websites",
5078 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5080 "filename": "server/api/chatWebsite/index.js",
5081 "groupTitle": "Chat_Websites"
5085 "url": "/api/chat/websites/{id}/applications",
5086 "title": "Gets Website Applications",
5089 "title": "Example usage:",
5090 "content": "curl https://{domain}/api/chat/websites/{id}/applications -v -u {name}:{password} -X GET",
5094 "name": "getApplications",
5095 "group": "Chat_Websites",
5096 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5098 "filename": "server/api/chatWebsite/index.js",
5099 "groupTitle": "Chat_Websites"
5103 "url": "/api/chat/websites/{id}/avatar",
5104 "title": "Get avatar",
5107 "title": "Example usage:",
5108 "content": "curl https://{domain}/api/chat/websites/{id}/avatar -v -u {name}:{password} -X GET",
5112 "name": "getAvatar",
5113 "group": "Chat_Websites",
5114 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5116 "filename": "server/api/chatWebsite/index.js",
5117 "groupTitle": "Chat_Websites"
5121 "url": "/api/chat/websites/{id}/customer_avatar",
5122 "title": "Get Customer Avatar",
5125 "title": "Example usage:",
5126 "content": "curl https://{domain}/api/chat/websites/{id}/customer_avatar -v -u {name}:{password} -X GET",
5130 "name": "getCustomerAvatar",
5131 "group": "Chat_Websites",
5132 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5134 "filename": "server/api/chatWebsite/index.js",
5135 "groupTitle": "Chat_Websites"
5139 "url": "/api/chat/websites/{id}/dispositions",
5140 "title": "Gets account dispositions",
5143 "title": "Example usage:",
5144 "content": "curl https://{domain}/api/chat/websites/{id}/dispositions -v -u {name}:{password} -X GET",
5148 "name": "getDispositions",
5149 "group": "Chat_Websites",
5150 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5152 "filename": "server/api/chatWebsite/index.js",
5153 "groupTitle": "Chat_Websites"
5157 "url": "/api/chat/websites/{id}/fields",
5158 "title": "Gets Website Fields",
5161 "title": "Example usage:",
5162 "content": "curl https://{domain}/api/chat/websites/{id}/fields -v -u {name}:{password} -X GET",
5166 "name": "getFields",
5167 "group": "Chat_Websites",
5168 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5170 "filename": "server/api/chatWebsite/index.js",
5171 "groupTitle": "Chat_Websites"
5175 "url": "/api/chat/websites/{id}/interactions",
5176 "title": "Gets Website Interactions",
5179 "title": "Example usage:",
5180 "content": "curl https://{domain}/api/chat/websites/{id}/interactions -v -u {name}:{password} -X GET",
5184 "name": "getInteraction",
5185 "group": "Chat_Websites",
5186 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5188 "filename": "server/api/chatWebsite/index.js",
5189 "groupTitle": "Chat_Websites"
5193 "url": "/api/chat/websites/{id}/logo",
5194 "title": "Get logo",
5197 "title": "Example usage:",
5198 "content": "curl https://{domain}/api/chat/websites/{id}/logo -v -u {name}:{password} -X GET",
5203 "group": "Chat_Websites",
5204 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5206 "filename": "server/api/chatWebsite/index.js",
5207 "groupTitle": "Chat_Websites"
5211 "url": "/api/chat/websites/{id}/offline_messages",
5212 "title": "Gets Website Offline Messages",
5215 "title": "Example usage:",
5216 "content": "curl https://{domain}/api/chat/websites/{id}/offline_messages -v -u {name}:{password} -X GET",
5220 "name": "getOfflineMessages",
5221 "group": "Chat_Websites",
5222 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5224 "filename": "server/api/chatWebsite/index.js",
5225 "groupTitle": "Chat_Websites"
5229 "url": "/api/chat/websites/{id}/proactive_actions",
5230 "title": "Gets Website Proactive Actions",
5233 "title": "Example usage:",
5234 "content": "curl https://{domain}/api/chat/websites/{id}/proactive_actions -v -u {name}:{password} -X GET",
5238 "name": "getProactiveActions",
5239 "group": "Chat_Websites",
5240 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5242 "filename": "server/api/chatWebsite/index.js",
5243 "groupTitle": "Chat_Websites"
5247 "url": "/api/chat/websites/{id}/snippet",
5248 "title": "Gets Website Snippet",
5251 "title": "Example usage:",
5252 "content": "curl https://{domain}/api/chat/websites/{id}/snippet -v -u {name}:{password} -X GET",
5256 "name": "getSnippet",
5257 "group": "Chat_Websites",
5258 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5260 "filename": "server/api/chatWebsite/index.js",
5261 "groupTitle": "Chat_Websites"
5265 "url": "/api/chat/websites/{id}/system_avatar",
5266 "title": "Get System Avatar",
5269 "title": "Example usage:",
5270 "content": "curl https://{domain}/api/chat/websites/{id}/system_avatar -v -u {name}:{password} -X GET",
5274 "name": "getSystemAvatar",
5275 "group": "Chat_Websites",
5276 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5278 "filename": "server/api/chatWebsite/index.js",
5279 "groupTitle": "Chat_Websites"
5283 "url": "/api/chat/websites/{id}/notify",
5284 "title": "Notify new message",
5287 "title": "Example usage:",
5288 "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",
5293 "group": "Chat_Websites",
5294 "description": "<p>Motion 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>",
5296 "filename": "server/api/chatWebsite/index.js",
5297 "groupTitle": "Chat_Websites"
5301 "url": "/api/chat/websites/{id}/offline",
5302 "title": "Offline message",
5305 "title": "Example usage:",
5306 "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",
5311 "group": "Chat_Websites",
5312 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5314 "filename": "server/api/chatWebsite/index.js",
5315 "groupTitle": "Chat_Websites"
5319 "url": "/api/chat/messages/{id}/reject",
5320 "title": "Rejects message",
5323 "title": "Example usage:",
5324 "content": "curl https://{domain}/api/chat/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
5328 "name": "rejectMessage",
5329 "group": "Chat_Websites",
5330 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5332 "filename": "server/api/chatMessage/index.js",
5333 "groupTitle": "Chat_Websites"
5337 "url": "/api/chat/websites/{id}",
5338 "title": "Update an existing Website",
5341 "title": "Example usage:",
5342 "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",
5346 "name": "updateWebsites",
5347 "group": "Chat_Websites",
5348 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5350 "filename": "server/api/chatWebsite/index.js",
5351 "groupTitle": "Chat_Websites"
5355 "url": "/api/cloudProviders",
5356 "title": "Creates a new CloudProvider",
5359 "title": "Example usage:",
5360 "content": "curl https://{domain}/api/cloudProviders -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5364 "name": "CreateCloudProviders",
5365 "group": "CloudProviders",
5404 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5406 "filename": "server/api/cloudProvider/index.js",
5407 "groupTitle": "CloudProviders"
5411 "url": "/api/cloudProviders/{id}",
5412 "title": "Deletes a CloudProvider",
5415 "title": "Example usage:",
5416 "content": "curl https://{domain}/api/cloudProviders/{id} -v -u {name}:{password} -X DELETE",
5420 "name": "DeleteCloudProviders",
5421 "group": "CloudProviders",
5422 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5424 "filename": "server/api/cloudProvider/index.js",
5425 "groupTitle": "CloudProviders"
5429 "url": "/api/cloudProviders",
5430 "title": "Gets a list of CloudProviders",
5433 "title": "Example usage:",
5434 "content": "curl https://{domain}/api/cloudProviders -v -u {name}:{password}",
5438 "name": "GetCloudProviders",
5439 "group": "CloudProviders",
5440 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
5442 "filename": "server/api/cloudProvider/index.js",
5443 "groupTitle": "CloudProviders"
5447 "url": "/api/cloudProviders/{id}",
5448 "title": "Gets a single CloudProvider",
5451 "title": "Example usage:",
5452 "content": "curl https://{domain}/api/cloudProviders/{id} -v -u {name}:{password}",
5456 "name": "ShowCloudProviders",
5457 "group": "CloudProviders",
5458 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5460 "filename": "server/api/cloudProvider/index.js",
5461 "groupTitle": "CloudProviders"
5465 "url": "/api/cloudProviders/{id}",
5466 "title": "Update an existing CloudProvider",
5469 "title": "Example usage:",
5470 "content": "curl https://{domain}/api/cloudProviders/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
5474 "name": "updateCloudProviders",
5475 "group": "CloudProviders",
5476 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5478 "filename": "server/api/cloudProvider/index.js",
5479 "groupTitle": "CloudProviders"
5483 "url": "/api/cm/companies",
5484 "title": "Creates a new Company",
5487 "title": "Example usage:",
5488 "content": "curl https://{domain}/api/cm/companies -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5492 "name": "CreateCompanies",
5493 "group": "Cm_Companies",
5515 "field": "companyId",
5557 "field": "postalCode",
5585 "field": "emailDomain",
5599 "field": "sPostalCode",
5613 "field": "sCountry",
5620 "field": "description",
5626 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5628 "filename": "server/api/cmCompany/index.js",
5629 "groupTitle": "Cm_Companies"
5633 "url": "/api/cm/companies/{id}",
5634 "title": "Deletes a Company",
5637 "title": "Example usage:",
5638 "content": "curl https://{domain}/api/cm/companies/{id} -v -u {name}:{password} -X DELETE",
5642 "name": "DeleteCompanies",
5643 "group": "Cm_Companies",
5644 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5646 "filename": "server/api/cmCompany/index.js",
5647 "groupTitle": "Cm_Companies"
5651 "url": "/api/cm/companies/describe",
5652 "title": "Gets table info about Companies",
5655 "title": "Example usage:",
5656 "content": "curl https://{domain}/api/cm/companies/describe -v -u {name}:{password}",
5660 "name": "DescribeCompanies",
5661 "group": "Cm_Companies",
5662 "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>",
5664 "filename": "server/api/cmCompany/index.js",
5665 "groupTitle": "Cm_Companies"
5669 "url": "/api/cm/companies",
5670 "title": "Gets a list of Companies",
5673 "title": "Example usage:",
5674 "content": "curl https://{domain}/api/cm/companies -v -u {name}:{password}",
5678 "name": "GetCompanies",
5679 "group": "Cm_Companies",
5680 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
5682 "filename": "server/api/cmCompany/index.js",
5683 "groupTitle": "Cm_Companies"
5687 "url": "/api/cm/companies/{id}",
5688 "title": "Gets a single Company",
5691 "title": "Example usage:",
5692 "content": "curl https://{domain}/api/cm/companies/{id} -v -u {name}:{password}",
5696 "name": "ShowCompanies",
5697 "group": "Cm_Companies",
5698 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5700 "filename": "server/api/cmCompany/index.js",
5701 "groupTitle": "Cm_Companies"
5705 "url": "/api/cm/companies/{id}/contacts",
5706 "title": "Creates new contacts",
5709 "title": "Example usage:",
5710 "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",
5714 "name": "addContacts",
5715 "group": "Cm_Companies",
5723 "field": "firstName",
5730 "field": "lastName",
5744 "field": "postalCode",
5765 "field": "dateOfBirth",
5772 "field": "description",
5814 "field": "facebook",
5870 "field": "telegram",
5884 "field": "priority",
5891 "field": "scheduledat",
5897 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5899 "filename": "server/api/cmCompany/index.js",
5900 "groupTitle": "Cm_Companies"
5904 "url": "/api/cm/companies/{id}/contacts",
5905 "title": "Gets List Contacts",
5908 "title": "Example usage:",
5909 "content": "curl https://{domain}/api/fax/companies/{id}/contacts -v -u {name}:{password} -X GET",
5913 "name": "getContacts",
5914 "group": "Cm_Companies",
5915 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5917 "filename": "server/api/cmCompany/index.js",
5918 "groupTitle": "Cm_Companies"
5922 "url": "/api/cm/companies/{id}",
5923 "title": "Update an existing Company",
5926 "title": "Example usage:",
5927 "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",
5931 "name": "updateCompanies",
5932 "group": "Cm_Companies",
5933 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5935 "filename": "server/api/cmCompany/index.js",
5936 "groupTitle": "Cm_Companies"
5940 "url": "/api/cm/contacts/{id}",
5941 "title": "Deletes a Contact",
5944 "title": "Example usage:",
5945 "content": "curl https://{domain}/api/cm/contacts/{id} -v -u {name}:{password} -X DELETE",
5949 "name": "DeleteContacts",
5950 "group": "Cm_Contacts",
5951 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5953 "filename": "server/api/cmContact/index.js",
5954 "groupTitle": "Cm_Contacts"
5958 "url": "/api/cm/contacts/describe",
5959 "title": "Gets table info about Contacts",
5962 "title": "Example usage:",
5963 "content": "curl https://{domain}/api/cm/contacts/describe -v -u {name}:{password}",
5967 "name": "DescribeContacts",
5968 "group": "Cm_Contacts",
5969 "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>",
5971 "filename": "server/api/cmContact/index.js",
5972 "groupTitle": "Cm_Contacts"
5976 "url": "/api/cm/contacts",
5977 "title": "Gets a list of Contacts",
5980 "title": "Example usage:",
5981 "content": "curl https://{domain}/api/cm/contacts -v -u {name}:{password}",
5985 "name": "GetContacts",
5986 "group": "Cm_Contacts",
5987 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
5989 "filename": "server/api/cmContact/index.js",
5990 "groupTitle": "Cm_Contacts"
5994 "url": "/api/cm/contacts/{id}/finals",
5995 "title": "Gets contact hopper finals",
5998 "title": "Example usage:",
5999 "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_finals -v -u {name}:{password} -X GET",
6003 "name": "GetHopperFinals",
6004 "group": "Cm_Contacts",
6005 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6007 "filename": "server/api/cmContact/index.js",
6008 "groupTitle": "Cm_Contacts"
6012 "url": "/api/cm/contacts/{id}/hopper_histories",
6013 "title": "Gets contact hopper histories",
6016 "title": "Example usage:",
6017 "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_histories -v -u {name}:{password} -X GET",
6021 "name": "GetHopperHistories",
6022 "group": "Cm_Contacts",
6023 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6025 "filename": "server/api/cmContact/index.js",
6026 "groupTitle": "Cm_Contacts"
6030 "url": "/api/cm/contacts/{id}/hoppers",
6031 "title": "Gets contact hoppers",
6034 "title": "Example usage:",
6035 "content": "curl https://{domain}/api/cm/contacts/{id}/hoppers -v -u {name}:{password} -X GET",
6039 "name": "GetHoppers",
6040 "group": "Cm_Contacts",
6041 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6043 "filename": "server/api/cmContact/index.js",
6044 "groupTitle": "Cm_Contacts"
6048 "url": "/api/cm/contacts/create_many",
6049 "title": "Create Contacts",
6052 "title": "Example usage:",
6053 "content": "curl https://{domain}/api/cm/contacts/create_many -d '[{\"firstName\": \"John\", \"lastName\": \"doe\", \"...\": \"...\"}]' -v -u {name}:{password} -X POST",
6057 "name": "bulkCreate",
6058 "group": "Cm_Contacts",
6059 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6061 "filename": "server/api/cmContact/index.js",
6062 "groupTitle": "Cm_Contacts"
6066 "url": "/api/cm/contacts",
6067 "title": "Create Contact",
6070 "title": "Example usage:",
6071 "content": "curl https://{domain}/api/cm/contacts -d '{\"firstName\": \"John\", \"lastName\": \"doe\", \"...\": \"...\"}' -v -u {name}:{password} -X POST",
6076 "group": "Cm_Contacts",
6077 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6079 "filename": "server/api/cmContact/index.js",
6080 "groupTitle": "Cm_Contacts"
6084 "url": "/api/cm/contacts/{id}/journey",
6085 "title": "Gets customer journey",
6088 "title": "Example usage:",
6089 "content": "curl https://{domain}/api/cm/contacts/{id}/journey -v -u {name}:{password} -X GET",
6093 "name": "getJourney",
6094 "group": "Cm_Contacts",
6095 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6097 "filename": "server/api/cmContact/index.js",
6098 "groupTitle": "Cm_Contacts"
6102 "url": "/api/cm/contacts/{id}/jscripty_sessions",
6103 "title": "Gets contact hopper blacks",
6106 "title": "Example usage:",
6107 "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_black -v -u {name}:{password} -X GET",
6111 "name": "getJscriptySessions",
6112 "group": "Cm_Contacts",
6113 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6115 "filename": "server/api/cmContact/index.js",
6116 "groupTitle": "Cm_Contacts"
6120 "url": "/api/cm/contacts/{id}/tags",
6121 "title": "Gets configurations tags",
6124 "title": "Example usage:",
6125 "content": "curl https://{domain}/api/cm/contacts/{id}/tags -v -u {name}:{password} -X GET",
6130 "group": "Cm_Contacts",
6131 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6133 "filename": "server/api/cmContact/index.js",
6134 "groupTitle": "Cm_Contacts"
6138 "url": "/api/cm/contacts/merge",
6139 "title": "Merge Contact",
6142 "title": "Example usage:",
6143 "content": "curl https://{domain}/api/cm/contacts/merge -d '{\"from\": 1, \"to\": 2}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6148 "group": "Cm_Contacts",
6149 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6151 "filename": "server/api/cmContact/index.js",
6152 "groupTitle": "Cm_Contacts"
6156 "url": "/api/cm/contacts/{id}/tags",
6157 "title": "Sets new tags",
6160 "title": "Example usage:",
6161 "content": "curl https://{domain}/api/cm/contacts/{id}/tags -d '{\"ids\": [1,12]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6166 "group": "Cm_Contacts",
6167 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6169 "filename": "server/api/cmContact/index.js",
6170 "groupTitle": "Cm_Contacts"
6174 "url": "/api/cm/contacts/{id}",
6175 "title": "Gets a single Contact",
6178 "title": "Example usage:",
6179 "content": "curl https://{domain}/api/cm/contacts/{id} -v -u {name}:{password} -X GET",
6184 "group": "Cm_Contacts",
6185 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6187 "filename": "server/api/cmContact/index.js",
6188 "groupTitle": "Cm_Contacts"
6192 "url": "/api/cm/contacts/{id}",
6193 "title": "Update a single Contact",
6196 "title": "Example usage:",
6197 "content": "curl https://{domain}/api/cm/contacts/{id} -d '{\"firstName\": \"John\", \"lastName\": \"Doe\"}' -v -u {name}:{password} -X PUT",
6202 "group": "Cm_Contacts",
6203 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6205 "filename": "server/api/cmContact/index.js",
6206 "groupTitle": "Cm_Contacts"
6210 "url": "/api/cm/custom_fields/{id}",
6211 "title": "Deletes a Custom Field",
6214 "title": "Example usage:",
6215 "content": "curl https://{domain}/api/cm/custom_fields/{id} -v -u {name}:{password} -X DELETE",
6219 "name": "DeleteCustom_Fields",
6220 "group": "Cm_Custom_Fields",
6221 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6223 "filename": "server/api/cmCustomField/index.js",
6224 "groupTitle": "Cm_Custom_Fields"
6228 "url": "/api/cm/custom_fields",
6229 "title": "Gets a list of Custom Fields",
6232 "title": "Example usage:",
6233 "content": "curl https://{domain}/api/cm/custom_fields -v -u {name}:{password}",
6237 "name": "GetCustom_Fields",
6238 "group": "Cm_Custom_Fields",
6239 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
6241 "filename": "server/api/cmCustomField/index.js",
6242 "groupTitle": "Cm_Custom_Fields"
6246 "url": "/api/cm/custom_fields/{id}",
6247 "title": "Gets a single Custom Field",
6250 "title": "Example usage:",
6251 "content": "curl https://{domain}/api/cm/custom_fields/{id} -v -u {name}:{password}",
6255 "name": "ShowCustom_Fields",
6256 "group": "Cm_Custom_Fields",
6257 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6259 "filename": "server/api/cmCustomField/index.js",
6260 "groupTitle": "Cm_Custom_Fields"
6264 "url": "/api/cm/custom_fields/{id}",
6265 "title": "Update an existing Custom Field",
6268 "title": "Example usage:",
6269 "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",
6273 "name": "updateCustom_Fields",
6274 "group": "Cm_Custom_Fields",
6275 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6277 "filename": "server/api/cmCustomField/index.js",
6278 "groupTitle": "Cm_Custom_Fields"
6282 "url": "/api/cm/hopper",
6283 "title": "Creates a new Hopper",
6286 "title": "Example usage:",
6287 "content": "curl https://{domain}/api/cm/hopper -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
6291 "name": "CreateHopper",
6292 "group": "Cm_Hopper",
6314 "field": "scheduledat",
6321 "field": "countbusyretry",
6328 "field": "countcongestionretry",
6335 "field": "countnoanswerretry",
6342 "field": "callback",
6349 "field": "callbackuniqueid",
6356 "field": "callbackat",
6363 "field": "priority",
6370 "field": "recallme",
6377 "field": "ContactId",
6398 "field": "VoiceQueueId",
6405 "field": "CampaignId",
6412 "field": "countnosuchnumberretry",
6419 "field": "countdropretry",
6426 "field": "countabandonedretry",
6433 "field": "countmachineretry",
6440 "field": "countagentrejectretry",
6446 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6448 "filename": "server/api/cmHopper/index.js",
6449 "groupTitle": "Cm_Hopper"
6453 "url": "/api/cm/hopper/describe",
6454 "title": "Gets table info about Hopper",
6457 "title": "Example usage:",
6458 "content": "curl https://{domain}/api/cm/hopper/describe -v -u {name}:{password}",
6462 "name": "DescribeHopper",
6463 "group": "Cm_Hopper",
6464 "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>",
6466 "filename": "server/api/cmHopper/index.js",
6467 "groupTitle": "Cm_Hopper"
6471 "url": "/api/cm/hopper",
6472 "title": "Gets a list of Hopper",
6475 "title": "Example usage:",
6476 "content": "curl https://{domain}/api/cm/hopper -v -u {name}:{password}",
6480 "name": "GetHopper",
6481 "group": "Cm_Hopper",
6482 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
6484 "filename": "server/api/cmHopper/index.js",
6485 "groupTitle": "Cm_Hopper"
6489 "url": "/api/cm/hopper/{id}",
6490 "title": "Gets a single Hopper",
6493 "title": "Example usage:",
6494 "content": "curl https://{domain}/api/cm/hopper/{id} -v -u {name}:{password}",
6498 "name": "ShowHopper",
6499 "group": "Cm_Hopper",
6500 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6502 "filename": "server/api/cmHopper/index.js",
6503 "groupTitle": "Cm_Hopper"
6507 "url": "/api/cm/hopper_black/{id}",
6508 "title": "Deletes a Hopper Black",
6511 "title": "Example usage:",
6512 "content": "curl https://{domain}/api/cm/hopper_black/{id} -v -u {name}:{password} -X DELETE",
6516 "name": "DeleteHopper_Black",
6517 "group": "Cm_Hopper_Black",
6518 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6520 "filename": "server/api/cmHopperBlack/index.js",
6521 "groupTitle": "Cm_Hopper_Black"
6525 "url": "/api/cm/hopper_black/describe",
6526 "title": "Gets table info about Hopper Black",
6529 "title": "Example usage:",
6530 "content": "curl https://{domain}/api/cm/hopper_black/describe -v -u {name}:{password}",
6534 "name": "DescribeHopper_Black",
6535 "group": "Cm_Hopper_Black",
6536 "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>",
6538 "filename": "server/api/cmHopperBlack/index.js",
6539 "groupTitle": "Cm_Hopper_Black"
6543 "url": "/api/cm/hopper_black",
6544 "title": "Gets a list of Hopper Black",
6547 "title": "Example usage:",
6548 "content": "curl https://{domain}/api/cm/hopper_black -v -u {name}:{password}",
6552 "name": "GetHopper_Black",
6553 "group": "Cm_Hopper_Black",
6554 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
6556 "filename": "server/api/cmHopperBlack/index.js",
6557 "groupTitle": "Cm_Hopper_Black"
6561 "url": "/api/cm/hopper_black/{id}",
6562 "title": "Gets a single Hopper Black",
6565 "title": "Example usage:",
6566 "content": "curl https://{domain}/api/cm/hopper_black/{id} -v -u {name}:{password}",
6570 "name": "ShowHopper_Black",
6571 "group": "Cm_Hopper_Black",
6572 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6574 "filename": "server/api/cmHopperBlack/index.js",
6575 "groupTitle": "Cm_Hopper_Black"
6579 "url": "/api/cm/hopper_black/{id}",
6580 "title": "Update an existing Hopper Black",
6583 "title": "Example usage:",
6584 "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",
6588 "name": "updateHopper_Black",
6589 "group": "Cm_Hopper_Black",
6590 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6592 "filename": "server/api/cmHopperBlack/index.js",
6593 "groupTitle": "Cm_Hopper_Black"
6597 "url": "/api/cm/hopper_final/checkContactHopper",
6598 "title": "Check if contact is in hopper",
6601 "title": "Example usage:",
6602 "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",
6606 "name": "/checkContactHopper",
6607 "group": "Cm_Hopper_Final",
6608 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6610 "filename": "server/api/cmHopperFinal/index.js",
6611 "groupTitle": "Cm_Hopper_Final"
6615 "url": "/api/cm/hopper_final/describe",
6616 "title": "Gets table info about HopperFinal",
6619 "title": "Example usage:",
6620 "content": "curl https://{domain}/api/cm/hopper_final/describe -v -u {name}:{password}",
6624 "name": "DescribeHopperFinal",
6625 "group": "Cm_Hopper_Final",
6626 "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>",
6628 "filename": "server/api/cmHopperFinal/index.js",
6629 "groupTitle": "Cm_Hopper_Final"
6633 "url": "/api/cm/hopper_final",
6634 "title": "Gets a list of HopperFinal",
6637 "title": "Example usage:",
6638 "content": "curl https://{domain}/api/cm/hopper_final -v -u {name}:{password}",
6642 "name": "GetHopperFinal",
6643 "group": "Cm_Hopper_Final",
6644 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
6646 "filename": "server/api/cmHopperFinal/index.js",
6647 "groupTitle": "Cm_Hopper_Final"
6651 "url": "/api/cm/hopper_final/{id}",
6652 "title": "Gets a single HopperFinal",
6655 "title": "Example usage:",
6656 "content": "curl https://{domain}/api/cm/hopper_final/{id} -v -u {name}:{password}",
6660 "name": "ShowHopperFinal",
6661 "group": "Cm_Hopper_Final",
6662 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6664 "filename": "server/api/cmHopperFinal/index.js",
6665 "groupTitle": "Cm_Hopper_Final"
6669 "url": "/api/cm/hopper_final/campaign/countAttributes/{id}",
6670 "title": "Return number contacts for attributes",
6673 "title": "Example usage:",
6674 "content": "curl https://{domain}/api/hopper_final/campaign/countAttributes/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X GET",
6678 "name": "countContactsIvrCampaignHopperFinal",
6679 "group": "Cm_Hopper_Final",
6680 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6682 "filename": "server/api/cmHopperFinal/index.js",
6683 "groupTitle": "Cm_Hopper_Final"
6687 "url": "/api/cm/hopper_final/voice/queue/countAttributes/{id}",
6688 "title": "Return number contacts for attributes",
6691 "title": "Example usage:",
6692 "content": "curl https://{domain}/api/hopper_final/voice/queue/countAttributes/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X GET",
6696 "name": "countContactsQueueCampaignHopperFinal",
6697 "group": "Cm_Hopper_Final",
6698 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6700 "filename": "server/api/cmHopperFinal/index.js",
6701 "groupTitle": "Cm_Hopper_Final"
6705 "url": "/api/cm/hopper_final/campaign/{id}",
6706 "title": "Move contacts in hopper",
6709 "title": "Example usage:",
6710 "content": "curl https://{domain}/api/hopper_final/campaign/moveContacts/{id} -d '{\"state\": \"state\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6714 "name": "moveContactsIvrCampaignHopperFinal",
6715 "group": "Cm_Hopper_Final",
6716 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6718 "filename": "server/api/cmHopperFinal/index.js",
6719 "groupTitle": "Cm_Hopper_Final"
6723 "url": "/api/cm/hopper_final/voice/queue/{id}",
6724 "title": "Move contacts in hopper",
6727 "title": "Example usage:",
6728 "content": "curl https://{domain}/api/hopper_final/voice/queue/moveContacts/{id} -d '{\"state\": \"state\"}' -H 'Content-Type: application/json' -v -u {name}:{password}",
6732 "name": "moveContactsQueueCampaignHopperFinal",
6733 "group": "Cm_Hopper_Final",
6734 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6736 "filename": "server/api/cmHopperFinal/index.js",
6737 "groupTitle": "Cm_Hopper_Final"
6741 "url": "/api/cm/hopper_final/{id}",
6742 "title": "Update a single hopper final",
6745 "title": "Example usage:",
6746 "content": "curl https://{domain}/api/hopper_final/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X PUT",
6751 "group": "Cm_Hopper_Final",
6752 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6754 "filename": "server/api/cmHopperFinal/index.js",
6755 "groupTitle": "Cm_Hopper_Final"
6759 "url": "/api/cm/hopper_history",
6760 "title": "Creates a new HopperHistory",
6763 "title": "Example usage:",
6764 "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",
6768 "name": "CreateHopperHistory",
6769 "group": "Cm_Hopper_History",
6784 "field": "statedesc",
6791 "field": "scheduledat",
6798 "field": "countbusyretry",
6805 "field": "countcongestionretry",
6812 "field": "countnoanswerretry",
6819 "field": "countglobal",
6826 "field": "uniqueid",
6833 "field": "originatecalleridnum",
6840 "field": "originatecalleridname",
6847 "field": "calleridnum",
6854 "field": "calleridname",
6861 "field": "starttime",
6868 "field": "responsetime",
6875 "field": "answertime",
6882 "field": "droptime",
6896 "field": "ringtime",
6903 "field": "holdtime",
6910 "field": "talktime",
6917 "field": "followuptime",
6924 "field": "dropreason",
6931 "field": "campaign",
6938 "field": "campaigntype",
6945 "field": "membername",
6973 "field": "callback",
6980 "field": "callbackuniqueid",
6987 "field": "callbackat",
6994 "field": "recallme",
7001 "field": "editedat",
7015 "field": "countnosuchnumberretry",
7022 "field": "countdropretry",
7029 "field": "countabandonedretry",
7036 "field": "countmachineretry",
7043 "field": "countagentrejectretry",
7049 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7051 "filename": "server/api/cmHopperHistory/index.js",
7052 "groupTitle": "Cm_Hopper_History"
7056 "url": "/api/cm/hopper_history/describe",
7057 "title": "Gets table info about HopperHistory",
7060 "title": "Example usage:",
7061 "content": "curl https://{domain}/api/cm/hopper_history/describe -v -u {name}:{password}",
7065 "name": "DescribeHopperHistory",
7066 "group": "Cm_Hopper_History",
7067 "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>",
7069 "filename": "server/api/cmHopperHistory/index.js",
7070 "groupTitle": "Cm_Hopper_History"
7074 "url": "/api/cm/hopper_history",
7075 "title": "Gets a list of HopperHistory",
7078 "title": "Example usage:",
7079 "content": "curl https://{domain}/api/cm/hopper_history -v -u {name}:{password}",
7083 "name": "GetHopperHistory",
7084 "group": "Cm_Hopper_History",
7085 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
7087 "filename": "server/api/cmHopperHistory/index.js",
7088 "groupTitle": "Cm_Hopper_History"
7092 "url": "/api/cm/hopper_history/{id}",
7093 "title": "Gets a single HopperHistory",
7096 "title": "Example usage:",
7097 "content": "curl https://{domain}/api/cm/hopper_history/{id} -v -u {name}:{password}",
7101 "name": "ShowHopperHistory",
7102 "group": "Cm_Hopper_History",
7103 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7105 "filename": "server/api/cmHopperHistory/index.js",
7106 "groupTitle": "Cm_Hopper_History"
7110 "url": "/api/cm/hopper_history/{id}",
7111 "title": "Update a single hopper history",
7114 "title": "Example usage:",
7115 "content": "curl https://{domain}/api/hopper_history/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X PUT",
7120 "group": "Cm_Hopper_History",
7121 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7123 "filename": "server/api/cmHopperHistory/index.js",
7124 "groupTitle": "Cm_Hopper_History"
7128 "url": "/api/cm/hopper/{id}",
7129 "title": "Delete Hopper",
7132 "title": "Example usage:",
7133 "content": "curl https://{domain}/api/cm/hopper/{id} -v -u {name}:{password} -X DELETE",
7138 "group": "Cm_Hopper",
7139 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7141 "filename": "server/api/cmHopper/index.js",
7142 "groupTitle": "Cm_Hopper"
7146 "url": "/api/cm/hopper/opencontacts",
7147 "title": "Gets Open Contacts",
7150 "title": "Example usage:",
7151 "content": "curl https://{domain}/api/cm/hopper/opencontacts -v -u {name}:{password} -X GET",
7155 "name": "getOpenContacts",
7156 "group": "Cm_Hopper",
7157 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7159 "filename": "server/api/cmHopper/index.js",
7160 "groupTitle": "Cm_Hopper"
7164 "url": "/api/cm/hopper/preview",
7165 "title": "Gets Preview Dialer Contacts",
7168 "title": "Example usage:",
7169 "content": "curl https://{domain}/api/cm/hopper/preview -d '{\"hopperIds\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X GET",
7173 "name": "getPreview",
7174 "group": "Cm_Hopper",
7175 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7177 "filename": "server/api/cmHopper/index.js",
7178 "groupTitle": "Cm_Hopper"
7182 "url": "/api/cm/hopper/{id}",
7183 "title": "Update an existing Hopper",
7186 "title": "Example usage:",
7187 "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",
7191 "name": "updateHopper",
7192 "group": "Cm_Hopper",
7193 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7195 "filename": "server/api/cmHopper/index.js",
7196 "groupTitle": "Cm_Hopper"
7200 "url": "/api/cm/lists",
7201 "title": "Creates a new List",
7204 "title": "Example usage:",
7205 "content": "curl https://{domain}/api/cm/lists -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
7209 "name": "CreateLists",
7210 "group": "Cm_Lists",
7225 "field": "description",
7232 "field": "dialPrefix",
7238 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7240 "filename": "server/api/cmList/index.js",
7241 "groupTitle": "Cm_Lists"
7245 "url": "/api/cm/lists/{id}",
7246 "title": "Deletes a List",
7249 "title": "Example usage:",
7250 "content": "curl https://{domain}/api/cm/lists/{id} -v -u {name}:{password} -X DELETE",
7254 "name": "DeleteLists",
7255 "group": "Cm_Lists",
7256 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7258 "filename": "server/api/cmList/index.js",
7259 "groupTitle": "Cm_Lists"
7263 "url": "/api/cm/lists/describe",
7264 "title": "Gets table info about Lists",
7267 "title": "Example usage:",
7268 "content": "curl https://{domain}/api/cm/lists/describe -v -u {name}:{password}",
7272 "name": "DescribeLists",
7273 "group": "Cm_Lists",
7274 "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>",
7276 "filename": "server/api/cmList/index.js",
7277 "groupTitle": "Cm_Lists"
7281 "url": "/api/cm/lists/{id}/users",
7282 "title": "Gets agents from list",
7285 "title": "Example usage:",
7286 "content": "curl https://{domain}/api/cm/lists/{id}/users -v -u {name}:{password} -X GET",
7290 "name": "GetAgents",
7291 "group": "Cm_Lists",
7292 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7294 "filename": "server/api/cmList/index.js",
7295 "groupTitle": "Cm_Lists"
7299 "url": "/api/cm/lists",
7300 "title": "Gets a list of Lists",
7303 "title": "Example usage:",
7304 "content": "curl https://{domain}/api/cm/lists -v -u {name}:{password}",
7309 "group": "Cm_Lists",
7310 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
7312 "filename": "server/api/cmList/index.js",
7313 "groupTitle": "Cm_Lists"
7317 "url": "/api/cm/lists/{id}/users",
7318 "title": "Removes agents from a list",
7321 "title": "Example usage:",
7322 "content": "curl https://{domain}/api/cm/lists/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
7326 "name": "RemoveAgents",
7327 "group": "Cm_Lists",
7328 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7330 "filename": "server/api/cmList/index.js",
7331 "groupTitle": "Cm_Lists"
7335 "url": "/api/cm/lists/{id}/dispositions",
7336 "title": "Removes dispositions from account",
7339 "title": "Example usage:",
7340 "content": "curl https://{domain}/api/cm/lists/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
7344 "name": "RemoveDispositions",
7345 "group": "Cm_Lists",
7346 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7348 "filename": "server/api/cmList/index.js",
7349 "groupTitle": "Cm_Lists"
7353 "url": "/api/cm/lists/{id}",
7354 "title": "Gets a single List",
7357 "title": "Example usage:",
7358 "content": "curl https://{domain}/api/cm/lists/{id} -v -u {name}:{password}",
7362 "name": "ShowLists",
7363 "group": "Cm_Lists",
7364 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7366 "filename": "server/api/cmList/index.js",
7367 "groupTitle": "Cm_Lists"
7371 "url": "/api/cm/lists/{id}/users",
7372 "title": "Adds agents to a list",
7375 "title": "Example usage:",
7376 "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",
7380 "name": "addAgents",
7381 "group": "Cm_Lists",
7382 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7384 "filename": "server/api/cmList/index.js",
7385 "groupTitle": "Cm_Lists"
7389 "url": "/api/cm/lists/{id}/contacts",
7390 "title": "Creates new contacts",
7393 "title": "Example usage:",
7394 "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",
7398 "name": "addContacts",
7399 "group": "Cm_Lists",
7407 "field": "firstName",
7414 "field": "lastName",
7428 "field": "postalCode",
7449 "field": "dateOfBirth",
7456 "field": "description",
7498 "field": "facebook",
7554 "field": "telegram",
7568 "field": "priority",
7575 "field": "scheduledat",
7581 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7583 "filename": "server/api/cmList/index.js",
7584 "groupTitle": "Cm_Lists"
7588 "url": "/api/cm/lists/{id}/fields",
7589 "title": "Creates a new custom field",
7592 "title": "Example usage:",
7593 "content": "curl https://{domain}/api/cm/lists/{id}/fields -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
7597 "name": "addCustomField",
7598 "group": "Cm_Lists",
7599 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7601 "filename": "server/api/cmList/index.js",
7602 "groupTitle": "Cm_Lists"
7606 "url": "/api/cm/lists/{id}/dispositions",
7607 "title": "Creates new disposition",
7610 "title": "Example usage:",
7611 "content": "curl https://{domain}/api/cm/lists/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
7615 "name": "addDisposition",
7616 "group": "Cm_Lists",
7643 "field": "description",
7649 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7651 "filename": "server/api/cmList/index.js",
7652 "groupTitle": "Cm_Lists"
7656 "url": "/api/cm/lists/{id}/contacts",
7657 "title": "Gets List Contacts",
7660 "title": "Example usage:",
7661 "content": "curl https://{domain}/api/cm/lists/{id}/contacts -v -u {name}:{password} -X GET",
7665 "name": "getContacts",
7666 "group": "Cm_Lists",
7667 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7669 "filename": "server/api/cmList/index.js",
7670 "groupTitle": "Cm_Lists"
7674 "url": "/api/cm/lists/{id}/fields",
7675 "title": "Gets Custom Fields",
7678 "title": "Example usage:",
7679 "content": "curl https://{domain}/api/cm/lists/{id}/fields -v -u {name}:{password} -X GET",
7683 "name": "getCustomFields",
7684 "group": "Cm_Lists",
7685 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7687 "filename": "server/api/cmList/index.js",
7688 "groupTitle": "Cm_Lists"
7692 "url": "/api/cm/lists/{id}/dispositions",
7693 "title": "Gets list dispositions",
7696 "title": "Example usage:",
7697 "content": "curl https://{domain}/api/cm/lists/{id}/dispositions -v -u {name}:{password} -X GET",
7701 "name": "getDispositions",
7702 "group": "Cm_Lists",
7703 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7705 "filename": "server/api/cmList/index.js",
7706 "groupTitle": "Cm_Lists"
7710 "url": "/api/cm/lists/{id}/contacts/csv",
7711 "title": "Gets CSV List Contacts",
7714 "title": "Example usage:",
7715 "content": "curl https://{domain}/api/cm/lists/{id}/contacts/csv -v -u {name}:{password} -X GET",
7720 "group": "Cm_Lists",
7721 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7723 "filename": "server/api/cmList/index.js",
7724 "groupTitle": "Cm_Lists"
7728 "url": "/api/cm/lists/{id}",
7729 "title": "Update an existing List",
7732 "title": "Example usage:",
7733 "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",
7737 "name": "updateLists",
7738 "group": "Cm_Lists",
7739 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7741 "filename": "server/api/cmList/index.js",
7742 "groupTitle": "Cm_Lists"
7746 "url": "/api/cm/contacts/upload/:id",
7747 "title": "Import new contacts by csv",
7750 "title": "Example usage:",
7751 "content": "curl https://{domain}/api/cm/contacts/upload/:id -v -u {name}:{password} -X POST",
7756 "group": "Cm_contacts",
7757 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7759 "filename": "server/api/cmContact/index.js",
7760 "groupTitle": "Cm_contacts"
7764 "url": "/api/cm/contacts/upload",
7765 "title": "Upload csv",
7768 "title": "Example usage:",
7769 "content": "curl https://{domain}/api/cm/contacts/upload -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
7774 "group": "Cm_contacts",
7775 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7777 "filename": "server/api/cmContact/index.js",
7778 "groupTitle": "Cm_contacts"
7782 "url": "/api/cm/contacts/csv",
7783 "title": "Create new contacts by csv",
7786 "title": "Example usage:",
7787 "content": "curl https://{domain}/api/cm/contacts/csv -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
7791 "name": "uploadCsv",
7792 "group": "Cm_contacts",
7793 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7795 "filename": "server/api/cmContact/index.js",
7796 "groupTitle": "Cm_contacts"
7800 "url": "/api/conditions/{id}",
7801 "title": "Deletes a Condition",
7804 "title": "Example usage:",
7805 "content": "curl https://{domain}/api/conditions/{id} -v -u {name}:{password} -X DELETE",
7809 "name": "DeleteConditions",
7810 "group": "Conditions",
7811 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7813 "filename": "server/api/condition/index.js",
7814 "groupTitle": "Conditions"
7818 "url": "/api/conditions/{id}",
7819 "title": "Update an existing Condition",
7822 "title": "Example usage:",
7823 "content": "curl https://{domain}/api/conditions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
7827 "name": "updateConditions",
7828 "group": "Conditions",
7829 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7831 "filename": "server/api/condition/index.js",
7832 "groupTitle": "Conditions"
7836 "url": "/api/cm/custom_field",
7837 "title": "Create a new custom field",
7840 "title": "Example usage:",
7841 "content": "curl https://{domain}/api/cm/custom_field -d '{\"name\": \"mycf\", \"type\": \"text\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
7845 "name": "CreateCustomField",
7846 "group": "Custom_Fields",
7847 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7849 "filename": "server/api/cmCustomField/index.js",
7850 "groupTitle": "Custom_Fields"
7854 "url": "/api/dashboards/items",
7855 "title": "Create dasboard item",
7858 "title": "Example usage:",
7859 "content": "curl https://{domain}/api/dashboards/items \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
7864 "group": "Dashboard_Items",
7865 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7867 "filename": "server/api/dashboardItem/index.js",
7868 "groupTitle": "Dashboard_Items"
7872 "url": "/api/dashboards/items/{id}",
7873 "title": "Deletes a Dashboard Item",
7876 "title": "Example usage:",
7877 "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password} -X DELETE",
7881 "name": "DeleteDashboard_Items",
7882 "group": "Dashboard_Items",
7883 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7885 "filename": "server/api/dashboardItem/index.js",
7886 "groupTitle": "Dashboard_Items"
7890 "url": "/api/dashboards/items/{id}",
7891 "title": "Gets a single Dashboard Item",
7894 "title": "Example usage:",
7895 "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password}",
7899 "name": "ShowDashboard_Items",
7900 "group": "Dashboard_Items",
7901 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7903 "filename": "server/api/dashboardItem/index.js",
7904 "groupTitle": "Dashboard_Items"
7908 "url": "/api/dashboards/items/{id}",
7909 "title": "Update an existing item",
7912 "title": "Example usage:",
7913 "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password} -X PUT",
7918 "group": "Dashboard_Items",
7919 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7921 "filename": "server/api/dashboardItem/index.js",
7922 "groupTitle": "Dashboard_Items"
7926 "url": "/api/dashboards/clone",
7927 "title": "Clone an existing Dashboard",
7930 "title": "Example usage:",
7931 "content": "curl https://{domain}/api/dashboards/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
7935 "name": "CloneDashboards",
7936 "group": "Dashboards",
7937 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7939 "filename": "server/api/dashboard/index.js",
7940 "groupTitle": "Dashboards"
7944 "url": "/api/dashboards",
7945 "title": "Creates a new Dashboard",
7948 "title": "Example usage:",
7949 "content": "curl https://{domain}/api/dashboards -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
7953 "name": "CreateDashboards",
7954 "group": "Dashboards",
7969 "field": "description",
7975 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7977 "filename": "server/api/dashboard/index.js",
7978 "groupTitle": "Dashboards"
7982 "url": "/api/dashboards/{id}",
7983 "title": "Deletes a Dashboard",
7986 "title": "Example usage:",
7987 "content": "curl https://{domain}/api/dashboards/{id} -v -u {name}:{password} -X DELETE",
7991 "name": "DeleteDashboards",
7992 "group": "Dashboards",
7993 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7995 "filename": "server/api/dashboard/index.js",
7996 "groupTitle": "Dashboards"
8000 "url": "/api/dashboards",
8001 "title": "Gets a list of Dashboards",
8004 "title": "Example usage:",
8005 "content": "curl https://{domain}/api/dashboards -v -u {name}:{password}",
8009 "name": "GetDashboards",
8010 "group": "Dashboards",
8011 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8013 "filename": "server/api/dashboard/index.js",
8014 "groupTitle": "Dashboards"
8018 "url": "/api/dashboards/{id}",
8019 "title": "Gets a single Dashboard",
8022 "title": "Example usage:",
8023 "content": "curl https://{domain}/api/dashboards/{id} -v -u {name}:{password}",
8027 "name": "ShowDashboards",
8028 "group": "Dashboards",
8029 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8031 "filename": "server/api/dashboard/index.js",
8032 "groupTitle": "Dashboards"
8036 "url": "/api/dashboards/{id}/items",
8037 "title": "Creates new item",
8040 "title": "Example usage:",
8041 "content": "curl https://{domain}/api/dashboards/{id}/items -d '{\"type\": \"counter\", \"...\": \"...\"}]' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8046 "group": "Dashboards",
8047 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8049 "filename": "server/api/dashboard/index.js",
8050 "groupTitle": "Dashboards"
8054 "url": "/api/dashboards/{id}/items",
8055 "title": "Gets items",
8058 "title": "Example usage:",
8059 "content": "curl https://{domain}/api/dashboards/{id}/items -v -u {name}:{password} -X GET",
8064 "group": "Dashboards",
8065 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8067 "filename": "server/api/dashboard/index.js",
8068 "groupTitle": "Dashboards"
8072 "url": "/api/dashboards/{id}",
8073 "title": "Update an existing Dashboard",
8076 "title": "Example usage:",
8077 "content": "curl https://{domain}/api/dashboards/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8081 "name": "updateDashboards",
8082 "group": "Dashboards",
8083 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8085 "filename": "server/api/dashboard/index.js",
8086 "groupTitle": "Dashboards"
8090 "url": "/api/integrations/desk/accounts",
8091 "title": "Creates a new Desk Account",
8094 "title": "Example usage:",
8095 "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",
8099 "name": "CreateDesk_Accounts",
8100 "group": "Desk_Accounts",
8115 "field": "description",
8122 "field": "username",
8129 "field": "remoteUri",
8139 "field": "authType",
8146 "field": "password",
8153 "field": "consumerKey",
8160 "field": "consumerSecret",
8174 "field": "tokenSecret",
8181 "field": "serverUrl",
8188 "\"integrationTab\"",
8198 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8200 "filename": "server/api/intDeskAccount/index.js",
8201 "groupTitle": "Desk_Accounts"
8205 "url": "/api/integrations/desk/accounts/{id}",
8206 "title": "Deletes a Desk Account",
8209 "title": "Example usage:",
8210 "content": "curl https://{domain}/api/integrations/desk/accounts/{id} -v -u {name}:{password} -X DELETE",
8214 "name": "DeleteDesk_Accounts",
8215 "group": "Desk_Accounts",
8216 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8218 "filename": "server/api/intDeskAccount/index.js",
8219 "groupTitle": "Desk_Accounts"
8223 "url": "/api/integrations/desk/accounts",
8224 "title": "Gets a list of Desk Accounts",
8227 "title": "Example usage:",
8228 "content": "curl https://{domain}/api/integrations/desk/accounts -v -u {name}:{password}",
8232 "name": "GetDesk_Accounts",
8233 "group": "Desk_Accounts",
8234 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8236 "filename": "server/api/intDeskAccount/index.js",
8237 "groupTitle": "Desk_Accounts"
8241 "url": "/api/integrations/desk/accounts/{id}",
8242 "title": "Gets a single Desk Account",
8245 "title": "Example usage:",
8246 "content": "curl https://{domain}/api/integrations/desk/accounts/{id} -v -u {name}:{password}",
8250 "name": "ShowDesk_Accounts",
8251 "group": "Desk_Accounts",
8252 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8254 "filename": "server/api/intDeskAccount/index.js",
8255 "groupTitle": "Desk_Accounts"
8259 "url": "/api/integrations/desk/accounts/{id}/configurations",
8260 "title": "Creates new configuration",
8263 "title": "Example usage:",
8264 "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",
8268 "name": "addConfiguration",
8269 "group": "Desk_Accounts",
8270 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8272 "filename": "server/api/intDeskAccount/index.js",
8273 "groupTitle": "Desk_Accounts"
8277 "url": "/api/integrations/desk/accounts/{id}/configurations",
8278 "title": "Gets account configurations",
8281 "title": "Example usage:",
8282 "content": "curl https://{domain}/api/integrations/desk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
8286 "name": "getConfigurations",
8287 "group": "Desk_Accounts",
8288 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8290 "filename": "server/api/intDeskAccount/index.js",
8291 "groupTitle": "Desk_Accounts"
8295 "url": "/api/integrations/desk/accounts/{id}/fields",
8296 "title": "Gets account fields",
8299 "title": "Example usage:",
8300 "content": "curl https://{domain}/api/integrations/desk/accounts/{id}/fields -v -u {name}:{password} -X GET",
8304 "name": "getFields",
8305 "group": "Desk_Accounts",
8306 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8308 "filename": "server/api/intDeskAccount/index.js",
8309 "groupTitle": "Desk_Accounts"
8313 "url": "/api/integrations/desk/accounts/{id}",
8314 "title": "Update an existing Desk Account",
8317 "title": "Example usage:",
8318 "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",
8322 "name": "updateDesk_Accounts",
8323 "group": "Desk_Accounts",
8324 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8326 "filename": "server/api/intDeskAccount/index.js",
8327 "groupTitle": "Desk_Accounts"
8331 "url": "/api/integrations/desk/configurations",
8332 "title": "Creates a new Desk Configuration",
8335 "title": "Example usage:",
8336 "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",
8340 "name": "CreateDesk_Configurations",
8341 "group": "Desk_Configurations",
8356 "field": "description",
8362 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8364 "filename": "server/api/intDeskConfiguration/index.js",
8365 "groupTitle": "Desk_Configurations"
8369 "url": "/api/integrations/desk/configurations/{id}",
8370 "title": "Deletes a Desk Configuration",
8373 "title": "Example usage:",
8374 "content": "curl https://{domain}/api/integrations/desk/configurations/{id} -v -u {name}:{password} -X DELETE",
8378 "name": "DeleteDesk_Configurations",
8379 "group": "Desk_Configurations",
8380 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8382 "filename": "server/api/intDeskConfiguration/index.js",
8383 "groupTitle": "Desk_Configurations"
8387 "url": "/api/integrations/desk/configurations",
8388 "title": "Gets a list of Desk Configurations",
8391 "title": "Example usage:",
8392 "content": "curl https://{domain}/api/integrations/desk/configurations -v -u {name}:{password}",
8396 "name": "GetDesk_Configurations",
8397 "group": "Desk_Configurations",
8398 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8400 "filename": "server/api/intDeskConfiguration/index.js",
8401 "groupTitle": "Desk_Configurations"
8405 "url": "/api/integrations/desk/configurations/{id}",
8406 "title": "Gets a single Desk Configuration",
8409 "title": "Example usage:",
8410 "content": "curl https://{domain}/api/integrations/desk/configurations/{id} -v -u {name}:{password}",
8414 "name": "ShowDesk_Configurations",
8415 "group": "Desk_Configurations",
8416 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8418 "filename": "server/api/intDeskConfiguration/index.js",
8419 "groupTitle": "Desk_Configurations"
8423 "url": "/api/integrations/desk/configurations/{id}/descriptions",
8424 "title": "Gets configurations descriptions",
8427 "title": "Example usage:",
8428 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
8432 "name": "getDescriptions",
8433 "group": "Desk_Configurations",
8434 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8436 "filename": "server/api/intDeskConfiguration/index.js",
8437 "groupTitle": "Desk_Configurations"
8441 "url": "/api/integrations/desk/configurations/{id}/fields",
8442 "title": "Gets configurations fields",
8445 "title": "Example usage:",
8446 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/fields -v -u {name}:{password} -X GET",
8450 "name": "getFields",
8451 "group": "Desk_Configurations",
8452 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8454 "filename": "server/api/intDeskConfiguration/index.js",
8455 "groupTitle": "Desk_Configurations"
8459 "url": "/api/integrations/desk/configurations/{id}/subjects",
8460 "title": "Gets configurations subjects",
8463 "title": "Example usage:",
8464 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
8468 "name": "getSubjects",
8469 "group": "Desk_Configurations",
8470 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8472 "filename": "server/api/intDeskConfiguration/index.js",
8473 "groupTitle": "Desk_Configurations"
8477 "url": "/api/integrations/desk/configurations/{id}/tags",
8478 "title": "Gets configurations tags",
8481 "title": "Example usage:",
8482 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/tags -v -u {name}:{password} -X GET",
8487 "group": "Desk_Configurations",
8488 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8490 "filename": "server/api/intDeskConfiguration/index.js",
8491 "groupTitle": "Desk_Configurations"
8495 "url": "/api/integrations/desk/configurations/{id}/tags",
8496 "title": "Sets new tags",
8499 "title": "Example usage:",
8500 "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",
8505 "group": "Desk_Configurations",
8506 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8508 "filename": "server/api/intDeskConfiguration/index.js",
8509 "groupTitle": "Desk_Configurations"
8513 "url": "/api/integrations/desk/configurations/{id}",
8514 "title": "Update an existing Desk Configuration",
8517 "title": "Example usage:",
8518 "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",
8522 "name": "updateDesk_Configurations",
8523 "group": "Desk_Configurations",
8524 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8526 "filename": "server/api/intDeskConfiguration/index.js",
8527 "groupTitle": "Desk_Configurations"
8531 "url": "/api/integrations/desk/fields",
8532 "title": "Creates a new Desk Field",
8535 "title": "Example usage:",
8536 "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",
8540 "name": "CreateDesk_Fields",
8541 "group": "Desk_Fields",
8551 "\"customVariable\"",
8578 "\"customVariable\""
8588 "field": "keyContent",
8602 "field": "nameField",
8609 "field": "customField",
8616 "field": "variableName",
8622 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8624 "filename": "server/api/intDeskField/index.js",
8625 "groupTitle": "Desk_Fields"
8629 "url": "/api/integrations/desk/fields/{id}",
8630 "title": "Deletes a Desk Field",
8633 "title": "Example usage:",
8634 "content": "curl https://{domain}/api/integrations/desk/fields/{id} -v -u {name}:{password} -X DELETE",
8638 "name": "DeleteDesk_Fields",
8639 "group": "Desk_Fields",
8640 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8642 "filename": "server/api/intDeskField/index.js",
8643 "groupTitle": "Desk_Fields"
8647 "url": "/api/integrations/desk/fields",
8648 "title": "Gets a list of Desk Fields",
8651 "title": "Example usage:",
8652 "content": "curl https://{domain}/api/integrations/desk/fields -v -u {name}:{password}",
8656 "name": "GetDesk_Fields",
8657 "group": "Desk_Fields",
8658 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8660 "filename": "server/api/intDeskField/index.js",
8661 "groupTitle": "Desk_Fields"
8665 "url": "/api/integrations/desk/fields/{id}",
8666 "title": "Gets a single Desk Field",
8669 "title": "Example usage:",
8670 "content": "curl https://{domain}/api/integrations/desk/fields/{id} -v -u {name}:{password}",
8674 "name": "ShowDesk_Fields",
8675 "group": "Desk_Fields",
8676 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8678 "filename": "server/api/intDeskField/index.js",
8679 "groupTitle": "Desk_Fields"
8683 "url": "/api/integrations/desk/fields/{id}",
8684 "title": "Update an existing Desk Field",
8687 "title": "Example usage:",
8688 "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",
8692 "name": "updateDesk_Fields",
8693 "group": "Desk_Fields",
8694 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8696 "filename": "server/api/intDeskField/index.js",
8697 "groupTitle": "Desk_Fields"
8701 "url": "/api/dispositions",
8702 "title": "Creates a new Disposition",
8705 "title": "Example usage:",
8706 "content": "curl https://{domain}/api/dispositions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
8710 "name": "CreateDispositions",
8711 "group": "Dispositions",
8738 "field": "description",
8744 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8746 "filename": "server/api/disposition/index.js",
8747 "groupTitle": "Dispositions"
8751 "url": "/api/dispositions/{id}",
8752 "title": "Deletes a Disposition",
8755 "title": "Example usage:",
8756 "content": "curl https://{domain}/api/dispositions/{id} -v -u {name}:{password} -X DELETE",
8760 "name": "DeleteDispositions",
8761 "group": "Dispositions",
8762 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8764 "filename": "server/api/disposition/index.js",
8765 "groupTitle": "Dispositions"
8769 "url": "/api/dispositions",
8770 "title": "Gets a list of Dispositions",
8773 "title": "Example usage:",
8774 "content": "curl https://{domain}/api/dispositions -v -u {name}:{password}",
8778 "name": "GetDispositions",
8779 "group": "Dispositions",
8780 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8782 "filename": "server/api/disposition/index.js",
8783 "groupTitle": "Dispositions"
8787 "url": "/api/dispositions/{id}",
8788 "title": "Gets a single Disposition",
8791 "title": "Example usage:",
8792 "content": "curl https://{domain}/api/dispositions/{id} -v -u {name}:{password}",
8796 "name": "ShowDispositions",
8797 "group": "Dispositions",
8798 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8800 "filename": "server/api/disposition/index.js",
8801 "groupTitle": "Dispositions"
8805 "url": "/api/dispositions/{id}",
8806 "title": "Update an existing Disposition",
8809 "title": "Example usage:",
8810 "content": "curl https://{domain}/api/dispositions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8814 "name": "updateDispositions",
8815 "group": "Dispositions",
8816 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8818 "filename": "server/api/disposition/index.js",
8819 "groupTitle": "Dispositions"
8823 "url": "/api/integrations/dynamics365/accounts",
8824 "title": "Creates a new Dynamics365 Account",
8827 "title": "Example usage:",
8828 "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",
8832 "name": "CreateDynamics365_Accounts",
8833 "group": "Dynamics365_Accounts",
8848 "field": "username",
8855 "field": "password",
8862 "field": "remoteUri",
8869 "field": "tenantId",
8876 "field": "clientId",
8883 "field": "clientSecret",
8890 "field": "serverUrl",
8897 "field": "description",
8903 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8905 "filename": "server/api/intDynamics365Account/index.js",
8906 "groupTitle": "Dynamics365_Accounts"
8910 "url": "/api/integrations/dynamics365/accounts/{id}",
8911 "title": "Deletes a Dynamics365 Account",
8914 "title": "Example usage:",
8915 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id} -v -u {name}:{password} -X DELETE",
8919 "name": "DeleteDynamics365_Accounts",
8920 "group": "Dynamics365_Accounts",
8921 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8923 "filename": "server/api/intDynamics365Account/index.js",
8924 "groupTitle": "Dynamics365_Accounts"
8928 "url": "/api/integrations/dynamics365/accounts",
8929 "title": "Gets a list of Dynamics365 Accounts",
8932 "title": "Example usage:",
8933 "content": "curl https://{domain}/api/integrations/dynamics365/accounts -v -u {name}:{password}",
8937 "name": "GetDynamics365_Accounts",
8938 "group": "Dynamics365_Accounts",
8939 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
8941 "filename": "server/api/intDynamics365Account/index.js",
8942 "groupTitle": "Dynamics365_Accounts"
8946 "url": "/api/integrations/dynamics365/accounts/{id}",
8947 "title": "Gets a single Dynamics365 Account",
8950 "title": "Example usage:",
8951 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id} -v -u {name}:{password}",
8955 "name": "ShowDynamics365_Accounts",
8956 "group": "Dynamics365_Accounts",
8957 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8959 "filename": "server/api/intDynamics365Account/index.js",
8960 "groupTitle": "Dynamics365_Accounts"
8964 "url": "/api/integrations/dynamics365/accounts/{id}/configurations",
8965 "title": "Creates new configuration",
8968 "title": "Example usage:",
8969 "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",
8973 "name": "addConfiguration",
8974 "group": "Dynamics365_Accounts",
8975 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8977 "filename": "server/api/intDynamics365Account/index.js",
8978 "groupTitle": "Dynamics365_Accounts"
8982 "url": "/api/integrations/dynamics365/accounts/{id}/configurations",
8983 "title": "Gets account configurations",
8986 "title": "Example usage:",
8987 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id}/configurations -v -u {name}:{password} -X GET",
8991 "name": "getConfigurations",
8992 "group": "Dynamics365_Accounts",
8993 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8995 "filename": "server/api/intDynamics365Account/index.js",
8996 "groupTitle": "Dynamics365_Accounts"
9000 "url": "/api/integrations/dynamics365/accounts/{id}/fields",
9001 "title": "Gets account fields",
9004 "title": "Example usage:",
9005 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id}/fields -v -u {name}:{password} -X GET",
9009 "name": "getFields",
9010 "group": "Dynamics365_Accounts",
9011 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9013 "filename": "server/api/intDynamics365Account/index.js",
9014 "groupTitle": "Dynamics365_Accounts"
9018 "url": "/api/integrations/dynamics365/accounts/{id}",
9019 "title": "Update an existing Dynamics365 Account",
9022 "title": "Example usage:",
9023 "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",
9027 "name": "updateDynamics365_Accounts",
9028 "group": "Dynamics365_Accounts",
9029 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9031 "filename": "server/api/intDynamics365Account/index.js",
9032 "groupTitle": "Dynamics365_Accounts"
9036 "url": "/api/integrations/dynamics365/configurations",
9037 "title": "Creates a new Dynamics365 Configuration",
9040 "title": "Example usage:",
9041 "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",
9045 "name": "CreateDynamics365_Configurations",
9046 "group": "Dynamics365_Configurations",
9061 "field": "description",
9072 "field": "ticketType",
9078 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9080 "filename": "server/api/intDynamics365Configuration/index.js",
9081 "groupTitle": "Dynamics365_Configurations"
9085 "url": "/api/integrations/dynamics365/configurations/{id}",
9086 "title": "Deletes a Dynamics365 Configuration",
9089 "title": "Example usage:",
9090 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id} -v -u {name}:{password} -X DELETE",
9094 "name": "DeleteDynamics365_Configurations",
9095 "group": "Dynamics365_Configurations",
9096 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9098 "filename": "server/api/intDynamics365Configuration/index.js",
9099 "groupTitle": "Dynamics365_Configurations"
9103 "url": "/api/integrations/dynamics365/configurations",
9104 "title": "Gets a list of Dynamics365 Configurations",
9107 "title": "Example usage:",
9108 "content": "curl https://{domain}/api/integrations/dynamics365/configurations -v -u {name}:{password}",
9112 "name": "GetDynamics365_Configurations",
9113 "group": "Dynamics365_Configurations",
9114 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
9116 "filename": "server/api/intDynamics365Configuration/index.js",
9117 "groupTitle": "Dynamics365_Configurations"
9121 "url": "/api/integrations/dynamics365/configurations/{id}",
9122 "title": "Gets a single Dynamics365 Configuration",
9125 "title": "Example usage:",
9126 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id} -v -u {name}:{password}",
9130 "name": "ShowDynamics365_Configurations",
9131 "group": "Dynamics365_Configurations",
9132 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9134 "filename": "server/api/intDynamics365Configuration/index.js",
9135 "groupTitle": "Dynamics365_Configurations"
9139 "url": "/api/integrations/dynamics365/configurations/{id}/descriptions",
9140 "title": "Gets configurations descriptions",
9143 "title": "Example usage:",
9144 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
9148 "name": "getDescriptions",
9149 "group": "Dynamics365_Configurations",
9150 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9152 "filename": "server/api/intDynamics365Configuration/index.js",
9153 "groupTitle": "Dynamics365_Configurations"
9157 "url": "/api/integrations/dynamics365/configurations/{id}/fields",
9158 "title": "Gets configurations fields",
9161 "title": "Example usage:",
9162 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/fields -v -u {name}:{password} -X GET",
9166 "name": "getFields",
9167 "group": "Dynamics365_Configurations",
9168 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9170 "filename": "server/api/intDynamics365Configuration/index.js",
9171 "groupTitle": "Dynamics365_Configurations"
9175 "url": "/api/integrations/zoho/configurations/{id}/subjects",
9176 "title": "Gets configurations subjects",
9179 "title": "Example usage:",
9180 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id}/subjects -v -u {name}:{password} -X GET",
9184 "name": "getSubjects",
9185 "group": "Dynamics365_Configurations",
9186 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9188 "filename": "server/api/intDynamics365Configuration/index.js",
9189 "groupTitle": "Dynamics365_Configurations"
9193 "url": "/api/integrations/dynamics365/configurations/{id}",
9194 "title": "Update an existing Dynamics365 Configuration",
9197 "title": "Example usage:",
9198 "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",
9202 "name": "updateDynamics365_Configurations",
9203 "group": "Dynamics365_Configurations",
9204 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9206 "filename": "server/api/intDynamics365Configuration/index.js",
9207 "groupTitle": "Dynamics365_Configurations"
9211 "url": "/api/integrations/dynamics365/fields",
9212 "title": "Creates a new Dynamics365 Field",
9215 "title": "Example usage:",
9216 "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",
9220 "name": "CreateDynamics365_Fields",
9221 "group": "Dynamics365_Fields",
9231 "\"customVariable\"",
9258 "\"customVariable\""
9268 "field": "keyContent",
9282 "field": "nameField",
9289 "field": "customField",
9296 "field": "variableName",
9302 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9304 "filename": "server/api/intDynamics365Field/index.js",
9305 "groupTitle": "Dynamics365_Fields"
9309 "url": "/api/integrations/dynamics365/fields/{id}",
9310 "title": "Deletes a Dynamics365 Field",
9313 "title": "Example usage:",
9314 "content": "curl https://{domain}/api/integrations/dynamics365/fields/{id} -v -u {name}:{password} -X DELETE",
9318 "name": "DeleteDynamics365_Fields",
9319 "group": "Dynamics365_Fields",
9320 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9322 "filename": "server/api/intDynamics365Field/index.js",
9323 "groupTitle": "Dynamics365_Fields"
9327 "url": "/api/integrations/dynamics365/fields",
9328 "title": "Gets a list of Dynamics365 Fields",
9331 "title": "Example usage:",
9332 "content": "curl https://{domain}/api/integrations/dynamics365/fields -v -u {name}:{password}",
9336 "name": "GetDynamics365_Fields",
9337 "group": "Dynamics365_Fields",
9338 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
9340 "filename": "server/api/intDynamics365Field/index.js",
9341 "groupTitle": "Dynamics365_Fields"
9345 "url": "/api/integrations/dynamics365/fields/{id}",
9346 "title": "Gets a single Dynamics365 Field",
9349 "title": "Example usage:",
9350 "content": "curl https://{domain}/api/integrations/dynamics365/fields/{id} -v -u {name}:{password}",
9354 "name": "ShowDynamics365_Fields",
9355 "group": "Dynamics365_Fields",
9356 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9358 "filename": "server/api/intDynamics365Field/index.js",
9359 "groupTitle": "Dynamics365_Fields"
9363 "url": "/api/integrations/dynamics365/fields/{id}",
9364 "title": "Update an existing Dynamics365 Field",
9367 "title": "Example usage:",
9368 "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",
9372 "name": "updateDynamics365_Fields",
9373 "group": "Dynamics365_Fields",
9374 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9376 "filename": "server/api/intDynamics365Field/index.js",
9377 "groupTitle": "Dynamics365_Fields"
9381 "url": "/api/fax/accounts/{id}/users",
9382 "title": "Add agents to a fax account",
9385 "title": "Example usage:",
9386 "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",
9390 "name": "AddAgents",
9391 "group": "Fax_Accounts",
9392 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9394 "filename": "server/api/faxAccount/index.js",
9395 "groupTitle": "Fax_Accounts"
9399 "url": "/api/fax/accounts",
9400 "title": "Creates a new Account",
9403 "title": "Example usage:",
9404 "content": "curl https://{domain}/api/fax/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9408 "name": "CreateAccounts",
9409 "group": "Fax_Accounts",
9424 "field": "description",
9442 "field": "headerinfo",
9449 "field": "localstationid",
9500 "field": "faxdetect",
9507 "field": "t38timeout",
9534 "field": "notificationTemplate",
9541 "field": "notificationSound",
9548 "field": "notificationShake",
9555 "field": "waitForTheAssignedAgent",
9562 "field": "queueTransfer",
9569 "field": "queueTransferTimeout",
9576 "field": "agentTransfer",
9583 "field": "agentTransferTimeout",
9590 "field": "mandatoryDispositionPauseId",
9591 "description": "<p>Status to put when mandatory disposition is enabled</p>"
9597 "field": "mandatoryDisposition",
9598 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
9603 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9605 "filename": "server/api/faxAccount/index.js",
9606 "groupTitle": "Fax_Accounts"
9610 "url": "/api/fax/accounts/{id}",
9611 "title": "Deletes a Account",
9614 "title": "Example usage:",
9615 "content": "curl https://{domain}/api/fax/accounts/{id} -v -u {name}:{password} -X DELETE",
9619 "name": "DeleteAccounts",
9620 "group": "Fax_Accounts",
9621 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9623 "filename": "server/api/faxAccount/index.js",
9624 "groupTitle": "Fax_Accounts"
9628 "url": "/api/fax/accounts/describe",
9629 "title": "Gets table info about Accounts",
9632 "title": "Example usage:",
9633 "content": "curl https://{domain}/api/fax/accounts/describe -v -u {name}:{password}",
9637 "name": "DescribeAccounts",
9638 "group": "Fax_Accounts",
9639 "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>",
9641 "filename": "server/api/faxAccount/index.js",
9642 "groupTitle": "Fax_Accounts"
9646 "url": "/api/fax/accounts",
9647 "title": "Gets a list of Accounts",
9650 "title": "Example usage:",
9651 "content": "curl https://{domain}/api/fax/accounts -v -u {name}:{password}",
9655 "name": "GetAccounts",
9656 "group": "Fax_Accounts",
9657 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
9659 "filename": "server/api/faxAccount/index.js",
9660 "groupTitle": "Fax_Accounts"
9664 "url": "/api/fax/accounts/{id}/users",
9665 "title": "Gets agents from fax account",
9668 "title": "Example usage:",
9669 "content": "curl https://{domain}/api/fax/accounts/{id}/users -v -u {name}:{password} -X GET",
9673 "name": "GetAgents",
9674 "group": "Fax_Accounts",
9675 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9677 "filename": "server/api/faxAccount/index.js",
9678 "groupTitle": "Fax_Accounts"
9682 "url": "/api/fax/accounts/{id}/users",
9683 "title": "Removes agents from a fax account",
9686 "title": "Example usage:",
9687 "content": "curl https://{domain}/api/fax/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
9691 "name": "RemoveAgents",
9692 "group": "Fax_Accounts",
9693 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9695 "filename": "server/api/faxAccount/index.js",
9696 "groupTitle": "Fax_Accounts"
9700 "url": "/api/fax/accounts/{id}/canned_answers",
9701 "title": "Removes canned answers from account",
9704 "title": "Example usage:",
9705 "content": "curl https://{domain}/api/fax/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
9709 "name": "RemoveAnswers",
9710 "group": "Fax_Accounts",
9711 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9713 "filename": "server/api/faxAccount/index.js",
9714 "groupTitle": "Fax_Accounts"
9718 "url": "/api/fax/accounts/{id}/dispositions",
9719 "title": "Removes dispositions from account",
9722 "title": "Example usage:",
9723 "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
9727 "name": "RemoveDispositions",
9728 "group": "Fax_Accounts",
9729 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9731 "filename": "server/api/faxAccount/index.js",
9732 "groupTitle": "Fax_Accounts"
9736 "url": "/api/fax/accounts/{id}",
9737 "title": "Gets a single Account",
9740 "title": "Example usage:",
9741 "content": "curl https://{domain}/api/fax/accounts/{id} -v -u {name}:{password}",
9745 "name": "ShowAccounts",
9746 "group": "Fax_Accounts",
9747 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9749 "filename": "server/api/faxAccount/index.js",
9750 "groupTitle": "Fax_Accounts"
9754 "url": "/api/fax/accounts/{id}/canned_answers",
9755 "title": "Creates new canned answer",
9758 "title": "Example usage:",
9759 "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",
9763 "name": "addAnswer",
9764 "group": "Fax_Accounts",
9786 "field": "description",
9799 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9801 "filename": "server/api/faxAccount/index.js",
9802 "groupTitle": "Fax_Accounts"
9806 "url": "/api/fax/accounts/{id}/applications",
9807 "title": "Creates new applications",
9810 "title": "Example usage:",
9811 "content": "curl https://{domain}/api/fax/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
9815 "name": "addApplications",
9816 "group": "Fax_Accounts",
9824 "field": "priority",
9845 "field": "description",
9852 "field": "interval",
9858 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9860 "filename": "server/api/faxAccount/index.js",
9861 "groupTitle": "Fax_Accounts"
9865 "url": "/api/fax/accounts/addaccountapplications",
9866 "title": "Creates new account and applications",
9869 "title": "Example usage:",
9870 "content": "curl https://{domain}/api/fax/accounts/addaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
9874 "name": "addApplications",
9875 "group": "Fax_Accounts",
9883 "field": "priority",
9904 "field": "description",
9911 "field": "interval",
9917 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9919 "filename": "server/api/faxAccount/index.js",
9920 "groupTitle": "Fax_Accounts"
9924 "url": "/api/fax/accounts/{id}/dispositions",
9925 "title": "Creates new disposition",
9928 "title": "Example usage:",
9929 "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
9933 "name": "addDisposition",
9934 "group": "Fax_Accounts",
9961 "field": "description",
9967 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9969 "filename": "server/api/faxAccount/index.js",
9970 "groupTitle": "Fax_Accounts"
9974 "url": "/api/fax/accounts/{id}/interactions",
9975 "title": "Creates new interactions",
9978 "title": "Example usage:",
9979 "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",
9983 "name": "addInteraction",
9984 "group": "Fax_Accounts",
9999 "field": "closedAt",
10006 "field": "disposition",
10013 "field": "secondDisposition",
10020 "field": "thirdDisposition",
10034 "field": "read1stAt",
10052 "field": "firstMsgDirection",
10059 "field": "lastMsgAt",
10070 "field": "lastMsgDirection",
10076 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10077 "version": "0.0.0",
10078 "filename": "server/api/faxAccount/index.js",
10079 "groupTitle": "Fax_Accounts"
10083 "url": "/api/fax/accounts/{id}/canned_answers",
10084 "title": "Gets account canned answers",
10087 "title": "Example usage:",
10088 "content": "curl https://{domain}/api/fax/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
10092 "name": "getAnswers",
10093 "group": "Fax_Accounts",
10094 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10095 "version": "0.0.0",
10096 "filename": "server/api/faxAccount/index.js",
10097 "groupTitle": "Fax_Accounts"
10101 "url": "/api/fax/accounts/{id}/applications",
10102 "title": "Gets account pplications",
10105 "title": "Example usage:",
10106 "content": "curl https://{domain}/api/fax/accounts/{id}/applications -v -u {name}:{password} -X GET",
10110 "name": "getApplications",
10111 "group": "Fax_Accounts",
10112 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10113 "version": "0.0.0",
10114 "filename": "server/api/faxAccount/index.js",
10115 "groupTitle": "Fax_Accounts"
10119 "url": "/api/fax/accounts/{id}/dispositions",
10120 "title": "Gets account dispositions",
10123 "title": "Example usage:",
10124 "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
10128 "name": "getDispositions",
10129 "group": "Fax_Accounts",
10130 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10131 "version": "0.0.0",
10132 "filename": "server/api/faxAccount/index.js",
10133 "groupTitle": "Fax_Accounts"
10137 "url": "/api/fax/accounts/{id}/interactions",
10138 "title": "Gets account interactions",
10141 "title": "Example usage:",
10142 "content": "curl https://{domain}/api/fax/accounts/{id}/interactions -v -u {name}:{password} -X GET",
10146 "name": "getInteraction",
10147 "group": "Fax_Accounts",
10148 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10149 "version": "0.0.0",
10150 "filename": "server/api/faxAccount/index.js",
10151 "groupTitle": "Fax_Accounts"
10155 "url": "/api/fax/accounts/{id}/messages",
10156 "title": "Gets account messages",
10159 "title": "Example usage:",
10160 "content": "curl https://{domain}/api/fax/accounts/{id}/messages -v -u {name}:{password} -X GET",
10164 "name": "getMessages",
10165 "group": "Fax_Accounts",
10166 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10167 "version": "0.0.0",
10168 "filename": "server/api/faxAccount/index.js",
10169 "groupTitle": "Fax_Accounts"
10173 "url": "/api/fax/accounts/{id}/send",
10174 "title": "Send new fax",
10177 "title": "Example usage:",
10178 "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",
10183 "group": "Fax_Accounts",
10184 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10185 "version": "0.0.0",
10186 "filename": "server/api/faxAccount/index.js",
10187 "groupTitle": "Fax_Accounts"
10191 "url": "/api/fax/accounts/{id}",
10192 "title": "Update an existing Account",
10195 "title": "Example usage:",
10196 "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",
10200 "name": "updateAccounts",
10201 "group": "Fax_Accounts",
10202 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10203 "version": "0.0.0",
10204 "filename": "server/api/faxAccount/index.js",
10205 "groupTitle": "Fax_Accounts"
10209 "url": "/api/fax/accounts/updateaccountapplications",
10210 "title": "Update account and applications",
10213 "title": "Example usage:",
10214 "content": "curl https://{domain}/api/fax/accounts/updateaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10218 "name": "updateApplications",
10219 "group": "Fax_Accounts",
10227 "field": "priority",
10241 "field": "appdata",
10248 "field": "description",
10255 "field": "interval",
10261 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10262 "version": "0.0.0",
10263 "filename": "server/api/faxAccount/index.js",
10264 "groupTitle": "Fax_Accounts"
10268 "url": "/api/fax/applications",
10269 "title": "Creates a new Application",
10272 "title": "Example usage:",
10273 "content": "curl https://{domain}/api/fax/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
10277 "name": "CreateApplications",
10278 "group": "Fax_Applications",
10286 "field": "priority",
10300 "field": "appdata",
10307 "field": "description",
10314 "field": "interval",
10320 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10321 "version": "0.0.0",
10322 "filename": "server/api/faxApplication/index.js",
10323 "groupTitle": "Fax_Applications"
10327 "url": "/api/fax/applications/{id}",
10328 "title": "Deletes a Application",
10331 "title": "Example usage:",
10332 "content": "curl https://{domain}/api/fax/applications/{id} -v -u {name}:{password} -X DELETE",
10336 "name": "DeleteApplications",
10337 "group": "Fax_Applications",
10338 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10339 "version": "0.0.0",
10340 "filename": "server/api/faxApplication/index.js",
10341 "groupTitle": "Fax_Applications"
10345 "url": "/api/fax/applications",
10346 "title": "Gets a list of Applications",
10349 "title": "Example usage:",
10350 "content": "curl https://{domain}/api/fax/applications -v -u {name}:{password}",
10354 "name": "GetApplications",
10355 "group": "Fax_Applications",
10356 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
10357 "version": "0.0.0",
10358 "filename": "server/api/faxApplication/index.js",
10359 "groupTitle": "Fax_Applications"
10363 "url": "/api/fax/applications/{id}",
10364 "title": "Gets a single Application",
10367 "title": "Example usage:",
10368 "content": "curl https://{domain}/api/fax/applications/{id} -v -u {name}:{password}",
10372 "name": "ShowApplications",
10373 "group": "Fax_Applications",
10374 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10375 "version": "0.0.0",
10376 "filename": "server/api/faxApplication/index.js",
10377 "groupTitle": "Fax_Applications"
10381 "url": "/api/fax/applications/{id}",
10382 "title": "Update an existing Application",
10385 "title": "Example usage:",
10386 "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",
10390 "name": "updateApplications",
10391 "group": "Fax_Applications",
10392 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10393 "version": "0.0.0",
10394 "filename": "server/api/faxApplication/index.js",
10395 "groupTitle": "Fax_Applications"
10399 "url": "/api/fax/interactions/{id}/tags",
10400 "title": "Add tags to the interaction",
10403 "title": "Example usage:",
10404 "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",
10409 "group": "Fax_Interactions",
10410 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10411 "version": "0.0.0",
10412 "filename": "server/api/faxInteraction/index.js",
10413 "groupTitle": "Fax_Interactions"
10417 "url": "/api/fax/interactions",
10418 "title": "Creates a new Interaction",
10421 "title": "Example usage:",
10422 "content": "curl https://{domain}/api/fax/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
10426 "name": "CreateInteractions",
10427 "group": "Fax_Interactions",
10442 "field": "closedAt",
10449 "field": "disposition",
10456 "field": "secondDisposition",
10463 "field": "thirdDisposition",
10477 "field": "read1stAt",
10495 "field": "firstMsgDirection",
10502 "field": "lastMsgAt",
10513 "field": "lastMsgDirection",
10519 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10520 "version": "0.0.0",
10521 "filename": "server/api/faxInteraction/index.js",
10522 "groupTitle": "Fax_Interactions"
10526 "url": "/api/fax/interactions/{id}",
10527 "title": "Deletes a Interaction",
10530 "title": "Example usage:",
10531 "content": "curl https://{domain}/api/fax/interactions/{id} -v -u {name}:{password} -X DELETE",
10535 "name": "DeleteInteractions",
10536 "group": "Fax_Interactions",
10537 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10538 "version": "0.0.0",
10539 "filename": "server/api/faxInteraction/index.js",
10540 "groupTitle": "Fax_Interactions"
10544 "url": "/api/fax/interactions/describe",
10545 "title": "Gets table info about Interactions",
10548 "title": "Example usage:",
10549 "content": "curl https://{domain}/api/fax/interactions/describe -v -u {name}:{password}",
10553 "name": "DescribeInteractions",
10554 "group": "Fax_Interactions",
10555 "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>",
10556 "version": "0.0.0",
10557 "filename": "server/api/faxInteraction/index.js",
10558 "groupTitle": "Fax_Interactions"
10562 "url": "/api/fax/interactions",
10563 "title": "Gets a list of Interactions",
10566 "title": "Example usage:",
10567 "content": "curl https://{domain}/api/fax/interactions -v -u {name}:{password}",
10571 "name": "GetInteractions",
10572 "group": "Fax_Interactions",
10573 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
10574 "version": "0.0.0",
10575 "filename": "server/api/faxInteraction/index.js",
10576 "groupTitle": "Fax_Interactions"
10580 "url": "/api/fax/interactions/{id}/tags",
10581 "title": "Removes tags from interaction",
10584 "title": "Example usage:",
10585 "content": "curl https://{domain}/api/fax/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10589 "name": "RemoveTags",
10590 "group": "Fax_Interactions",
10591 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10592 "version": "0.0.0",
10593 "filename": "server/api/faxInteraction/index.js",
10594 "groupTitle": "Fax_Interactions"
10598 "url": "/api/fax/interactions/{id}",
10599 "title": "Gets a single Interaction",
10602 "title": "Example usage:",
10603 "content": "curl https://{domain}/api/fax/interactions/{id} -v -u {name}:{password}",
10607 "name": "ShowInteractions",
10608 "group": "Fax_Interactions",
10609 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10610 "version": "0.0.0",
10611 "filename": "server/api/faxInteraction/index.js",
10612 "groupTitle": "Fax_Interactions"
10616 "url": "/api/fax/interactions/{id}/messages",
10617 "title": "Creates new messages",
10620 "title": "Example usage:",
10621 "content": "curl https://{domain}/api/fax/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10625 "name": "addMessage",
10626 "group": "Fax_Interactions",
10652 "field": "direction",
10659 "field": "failMessage",
10672 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10673 "version": "0.0.0",
10674 "filename": "server/api/faxInteraction/index.js",
10675 "groupTitle": "Fax_Interactions"
10679 "url": "/api/fax/interactions/{id}/download",
10680 "title": "Get interactions",
10683 "title": "Example usage:",
10684 "content": "curl https://{domain}/api/fax/interactions/{id}/download -v -u {name}:{password} -X GET",
10688 "name": "download",
10689 "group": "Fax_Interactions",
10690 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10691 "version": "0.0.0",
10692 "filename": "server/api/faxInteraction/index.js",
10693 "groupTitle": "Fax_Interactions"
10697 "url": "/api/fax/interactions/{id}/messages",
10698 "title": "Gets interaction messages",
10701 "title": "Example usage:",
10702 "content": "curl https://{domain}/api/fax/interactions/{id}/messages -v -u {name}:{password} -X GET",
10706 "name": "getMessages",
10707 "group": "Fax_Interactions",
10708 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10709 "version": "0.0.0",
10710 "filename": "server/api/faxInteraction/index.js",
10711 "groupTitle": "Fax_Interactions"
10715 "url": "/api/fax/interactions/{id}",
10716 "title": "Update an existing Interaction",
10719 "title": "Example usage:",
10720 "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",
10724 "name": "updateInteractions",
10725 "group": "Fax_Interactions",
10726 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10727 "version": "0.0.0",
10728 "filename": "server/api/faxInteraction/index.js",
10729 "groupTitle": "Fax_Interactions"
10733 "url": "/api/fax/messages/{id}/download",
10734 "title": "Get message",
10737 "title": "Example usage:",
10738 "content": "curl https://{domain}/api/fax/messages/{id}/download -v -u {name}:{password} -X GET",
10742 "name": "download",
10743 "group": "Fax_Message",
10744 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10745 "version": "0.0.0",
10746 "filename": "server/api/faxMessage/index.js",
10747 "groupTitle": "Fax_Message"
10751 "url": "/api/fax/messages/{id}",
10752 "title": "Deletes a Message",
10755 "title": "Example usage:",
10756 "content": "curl https://{domain}/api/fax/messages/{id} -v -u {name}:{password} -X DELETE",
10760 "name": "DeleteMessages",
10761 "group": "Fax_Messages",
10762 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10763 "version": "0.0.0",
10764 "filename": "server/api/faxMessage/index.js",
10765 "groupTitle": "Fax_Messages"
10769 "url": "/api/fax/messages/describe",
10770 "title": "Gets table info about Messages",
10773 "title": "Example usage:",
10774 "content": "curl https://{domain}/api/fax/messages/describe -v -u {name}:{password}",
10778 "name": "DescribeMessages",
10779 "group": "Fax_Messages",
10780 "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>",
10781 "version": "0.0.0",
10782 "filename": "server/api/faxMessage/index.js",
10783 "groupTitle": "Fax_Messages"
10787 "url": "/api/fax/messages",
10788 "title": "Gets a list of Messages",
10791 "title": "Example usage:",
10792 "content": "curl https://{domain}/api/fax/messages -v -u {name}:{password}",
10796 "name": "GetMessages",
10797 "group": "Fax_Messages",
10798 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
10799 "version": "0.0.0",
10800 "filename": "server/api/faxMessage/index.js",
10801 "groupTitle": "Fax_Messages"
10805 "url": "/api/fax/messages/{id}",
10806 "title": "Gets a single Message",
10809 "title": "Example usage:",
10810 "content": "curl https://{domain}/api/fax/messages/{id} -v -u {name}:{password}",
10814 "name": "ShowMessages",
10815 "group": "Fax_Messages",
10816 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10817 "version": "0.0.0",
10818 "filename": "server/api/faxMessage/index.js",
10819 "groupTitle": "Fax_Messages"
10823 "url": "/api/fax/messages/{id}/accept",
10824 "title": "Accepts message",
10827 "title": "Example usage:",
10828 "content": "curl https://{domain}/api/fax/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
10832 "name": "acceptMessage",
10833 "group": "Fax_Messages",
10834 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10835 "version": "0.0.0",
10836 "filename": "server/api/faxMessage/index.js",
10837 "groupTitle": "Fax_Messages"
10841 "url": "/api/fax/messages",
10842 "title": "Create message and send Fax",
10845 "title": "Example usage:",
10846 "content": "curl https://{domain}/api/fax/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
10850 "name": "rejectMessage",
10851 "group": "Fax_Messages",
10852 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10853 "version": "0.0.0",
10854 "filename": "server/api/faxMessage/index.js",
10855 "groupTitle": "Fax_Messages"
10859 "url": "/api/fax/messages/{id}/reject",
10860 "title": "Rejects message",
10863 "title": "Example usage:",
10864 "content": "curl https://{domain}/api/fax/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
10868 "name": "rejectMessage",
10869 "group": "Fax_Messages",
10870 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10871 "version": "0.0.0",
10872 "filename": "server/api/faxMessage/index.js",
10873 "groupTitle": "Fax_Messages"
10877 "url": "/api/fax/messages/{id}",
10878 "title": "Update an existing Message",
10881 "title": "Example usage:",
10882 "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",
10886 "name": "updateMessages",
10887 "group": "Fax_Messages",
10888 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10889 "version": "0.0.0",
10890 "filename": "server/api/faxMessage/index.js",
10891 "groupTitle": "Fax_Messages"
10895 "url": "/api/fax/reports/queue",
10896 "title": "Creates a new Fax Queue Report",
10899 "title": "Example usage:",
10900 "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",
10904 "name": "CreateFax_Queue_Reports",
10905 "group": "Fax_Queue_Reports",
10913 "field": "uniqueid",
10934 "field": "leaveAt",
10941 "field": "acceptAt",
10961 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10962 "version": "0.0.0",
10963 "filename": "server/api/faxQueueReport/index.js",
10964 "groupTitle": "Fax_Queue_Reports"
10968 "url": "/api/fax/reports/queue/{id}",
10969 "title": "Deletes a Fax Queue Report",
10972 "title": "Example usage:",
10973 "content": "curl https://{domain}/api/fax/reports/queue/{id} -v -u {name}:{password} -X DELETE",
10977 "name": "DeleteFax_Queue_Reports",
10978 "group": "Fax_Queue_Reports",
10979 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10980 "version": "0.0.0",
10981 "filename": "server/api/faxQueueReport/index.js",
10982 "groupTitle": "Fax_Queue_Reports"
10986 "url": "/api/fax/reports/queue/describe",
10987 "title": "Gets table info about Fax Queue Reports",
10990 "title": "Example usage:",
10991 "content": "curl https://{domain}/api/fax/reports/queue/describe -v -u {name}:{password}",
10995 "name": "DescribeFax_Queue_Reports",
10996 "group": "Fax_Queue_Reports",
10997 "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>",
10998 "version": "0.0.0",
10999 "filename": "server/api/faxQueueReport/index.js",
11000 "groupTitle": "Fax_Queue_Reports"
11004 "url": "/api/fax/reports/queue",
11005 "title": "Gets a list of Fax Queue Reports",
11008 "title": "Example usage:",
11009 "content": "curl https://{domain}/api/fax/reports/queue -v -u {name}:{password}",
11013 "name": "GetFax_Queue_Reports",
11014 "group": "Fax_Queue_Reports",
11015 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11016 "version": "0.0.0",
11017 "filename": "server/api/faxQueueReport/index.js",
11018 "groupTitle": "Fax_Queue_Reports"
11022 "url": "/api/fax/reports/queue/{id}",
11023 "title": "Gets a single Fax Queue Report",
11026 "title": "Example usage:",
11027 "content": "curl https://{domain}/api/fax/reports/queue/{id} -v -u {name}:{password}",
11031 "name": "ShowFax_Queue_Reports",
11032 "group": "Fax_Queue_Reports",
11033 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11034 "version": "0.0.0",
11035 "filename": "server/api/faxQueueReport/index.js",
11036 "groupTitle": "Fax_Queue_Reports"
11040 "url": "/api/fax/reports/queue/{id}",
11041 "title": "Update an existing Fax Queue Report",
11044 "title": "Example usage:",
11045 "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",
11049 "name": "updateFax_Queue_Reports",
11050 "group": "Fax_Queue_Reports",
11051 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11052 "version": "0.0.0",
11053 "filename": "server/api/faxQueueReport/index.js",
11054 "groupTitle": "Fax_Queue_Reports"
11058 "url": "/api/fax/queues/{id}/users",
11059 "title": "Add agents to a queue",
11062 "title": "Example usage:",
11063 "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",
11067 "name": "AddAgents",
11068 "group": "Fax_Queues",
11069 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11070 "version": "0.0.0",
11071 "filename": "server/api/faxQueue/index.js",
11072 "groupTitle": "Fax_Queues"
11076 "url": "/api/fax/queues/{id}/teams",
11077 "title": "Add teams to a queue",
11080 "title": "Example usage:",
11081 "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",
11085 "name": "AddTeams",
11086 "group": "Fax_Queues",
11087 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11088 "version": "0.0.0",
11089 "filename": "server/api/faxQueue/index.js",
11090 "groupTitle": "Fax_Queues"
11094 "url": "/api/fax/queues",
11095 "title": "Creates a new Queue",
11098 "title": "Example usage:",
11099 "content": "curl https://{domain}/api/fax/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
11103 "name": "CreateQueues",
11104 "group": "Fax_Queues",
11119 "field": "description",
11126 "field": "timeout",
11138 "field": "strategy",
11145 "field": "lastAgent",
11151 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11152 "version": "0.0.0",
11153 "filename": "server/api/faxQueue/index.js",
11154 "groupTitle": "Fax_Queues"
11158 "url": "/api/fax/queues/{id}",
11159 "title": "Deletes a Queue",
11162 "title": "Example usage:",
11163 "content": "curl https://{domain}/api/fax/queues/{id} -v -u {name}:{password} -X DELETE",
11167 "name": "DeleteQueues",
11168 "group": "Fax_Queues",
11169 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11170 "version": "0.0.0",
11171 "filename": "server/api/faxQueue/index.js",
11172 "groupTitle": "Fax_Queues"
11176 "url": "/api/fax/queues/describe",
11177 "title": "Gets table info about Queues",
11180 "title": "Example usage:",
11181 "content": "curl https://{domain}/api/fax/queues/describe -v -u {name}:{password}",
11185 "name": "DescribeQueues",
11186 "group": "Fax_Queues",
11187 "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>",
11188 "version": "0.0.0",
11189 "filename": "server/api/faxQueue/index.js",
11190 "groupTitle": "Fax_Queues"
11194 "url": "/api/fax/queues/{id}/users",
11195 "title": "Gets queue agents",
11198 "title": "Example usage:",
11199 "content": "curl https://{domain}/api/fax/queues/{id}/users -v -u {name}:{password} -X POST",
11203 "name": "GetAgents",
11204 "group": "Fax_Queues",
11205 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11206 "version": "0.0.0",
11207 "filename": "server/api/faxQueue/index.js",
11208 "groupTitle": "Fax_Queues"
11212 "url": "/api/fax/queues/{id}/members",
11213 "title": "GetMembers",
11216 "title": "Example usage:",
11217 "content": "curl https://{domain}/api/fax/queues/{id}/members -v -u {name}:{password}",
11221 "name": "GetMembers",
11222 "group": "Fax_Queues",
11223 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11224 "version": "0.0.0",
11225 "filename": "server/api/faxQueue/index.js",
11226 "groupTitle": "Fax_Queues"
11230 "url": "/api/fax/queues",
11231 "title": "Gets a list of Queues",
11234 "title": "Example usage:",
11235 "content": "curl https://{domain}/api/fax/queues -v -u {name}:{password}",
11239 "name": "GetQueues",
11240 "group": "Fax_Queues",
11241 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11242 "version": "0.0.0",
11243 "filename": "server/api/faxQueue/index.js",
11244 "groupTitle": "Fax_Queues"
11248 "url": "/api/fax/queues/{id}/teams",
11249 "title": "Gets queues list",
11252 "title": "Example usage:",
11253 "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password}",
11257 "name": "GetTeams",
11258 "group": "Fax_Queues",
11259 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11260 "version": "0.0.0",
11261 "filename": "server/api/faxQueue/index.js",
11262 "groupTitle": "Fax_Queues"
11266 "url": "/api/fax/queues/{id}/users",
11267 "title": "Removes agents from a queue",
11270 "title": "Example usage:",
11271 "content": "curl https://{domain}/api/fax/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
11275 "name": "RemoveAgents",
11276 "group": "Fax_Queues",
11277 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11278 "version": "0.0.0",
11279 "filename": "server/api/faxQueue/index.js",
11280 "groupTitle": "Fax_Queues"
11284 "url": "/api/fax/queues/{id}",
11285 "title": "Gets a single Queue",
11288 "title": "Example usage:",
11289 "content": "curl https://{domain}/api/fax/queues/{id} -v -u {name}:{password}",
11293 "name": "ShowQueues",
11294 "group": "Fax_Queues",
11295 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11296 "version": "0.0.0",
11297 "filename": "server/api/faxQueue/index.js",
11298 "groupTitle": "Fax_Queues"
11302 "url": "/api/fax/queues/{id}",
11303 "title": "Update an existing Queue",
11306 "title": "Example usage:",
11307 "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",
11311 "name": "updateQueues",
11312 "group": "Fax_Queues",
11313 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11314 "version": "0.0.0",
11315 "filename": "server/api/faxQueue/index.js",
11316 "groupTitle": "Fax_Queues"
11320 "url": "/api/fax/reports/transfer",
11321 "title": "Creates a new Fax Transfer Report",
11324 "title": "Example usage:",
11325 "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",
11329 "name": "CreateFax_Transfer_Reports",
11330 "group": "Fax_Transfer_Reports",
11338 "field": "uniqueid",
11357 "field": "transferredAt",
11363 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11364 "version": "0.0.0",
11365 "filename": "server/api/faxTransferReport/index.js",
11366 "groupTitle": "Fax_Transfer_Reports"
11370 "url": "/api/fax/reports/transfer/{id}",
11371 "title": "Deletes a Fax Transfer Report",
11374 "title": "Example usage:",
11375 "content": "curl https://{domain}/api/fax/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
11379 "name": "DeleteFax_Transfer_Reports",
11380 "group": "Fax_Transfer_Reports",
11381 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11382 "version": "0.0.0",
11383 "filename": "server/api/faxTransferReport/index.js",
11384 "groupTitle": "Fax_Transfer_Reports"
11388 "url": "/api/fax/reports/transfer/describe",
11389 "title": "Gets table info about Fax Transfer Reports",
11392 "title": "Example usage:",
11393 "content": "curl https://{domain}/api/fax/reports/transfer/describe -v -u {name}:{password}",
11397 "name": "DescribeFax_Transfer_Reports",
11398 "group": "Fax_Transfer_Reports",
11399 "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>",
11400 "version": "0.0.0",
11401 "filename": "server/api/faxTransferReport/index.js",
11402 "groupTitle": "Fax_Transfer_Reports"
11406 "url": "/api/fax/reports/transfer",
11407 "title": "Gets a list of Fax Transfer Reports",
11410 "title": "Example usage:",
11411 "content": "curl https://{domain}/api/fax/reports/transfer -v -u {name}:{password}",
11415 "name": "GetFax_Transfer_Reports",
11416 "group": "Fax_Transfer_Reports",
11417 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11418 "version": "0.0.0",
11419 "filename": "server/api/faxTransferReport/index.js",
11420 "groupTitle": "Fax_Transfer_Reports"
11424 "url": "/api/fax/reports/transfer/{id}",
11425 "title": "Gets a single Fax Transfer Report",
11428 "title": "Example usage:",
11429 "content": "curl https://{domain}/api/fax/reports/transfer/{id} -v -u {name}:{password}",
11433 "name": "ShowFax_Transfer_Reports",
11434 "group": "Fax_Transfer_Reports",
11435 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11436 "version": "0.0.0",
11437 "filename": "server/api/faxTransferReport/index.js",
11438 "groupTitle": "Fax_Transfer_Reports"
11442 "url": "/api/fax/reports/transfer/{id}",
11443 "title": "Update an existing Fax Transfer Report",
11446 "title": "Example usage:",
11447 "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",
11451 "name": "updateFax_Transfer_Reports",
11452 "group": "Fax_Transfer_Reports",
11453 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11454 "version": "0.0.0",
11455 "filename": "server/api/faxTransferReport/index.js",
11456 "groupTitle": "Fax_Transfer_Reports"
11460 "url": "/api/integrations/freshdesk/accounts",
11461 "title": "Creates a new Freshdesk Account",
11464 "title": "Example usage:",
11465 "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",
11469 "name": "CreateFreshdesk_Accounts",
11470 "group": "Freshdesk_Accounts",
11485 "field": "description",
11492 "field": "username",
11506 "field": "remoteUri",
11513 "field": "serverUrl",
11519 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11520 "version": "0.0.0",
11521 "filename": "server/api/intFreshdeskAccount/index.js",
11522 "groupTitle": "Freshdesk_Accounts"
11526 "url": "/api/integrations/freshdesk/accounts/{id}",
11527 "title": "Deletes a Freshdesk Account",
11530 "title": "Example usage:",
11531 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id} -v -u {name}:{password} -X DELETE",
11535 "name": "DeleteFreshdesk_Accounts",
11536 "group": "Freshdesk_Accounts",
11537 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11538 "version": "0.0.0",
11539 "filename": "server/api/intFreshdeskAccount/index.js",
11540 "groupTitle": "Freshdesk_Accounts"
11544 "url": "/api/integrations/freshdesk/accounts",
11545 "title": "Gets a list of Freshdesk Accounts",
11548 "title": "Example usage:",
11549 "content": "curl https://{domain}/api/integrations/freshdesk/accounts -v -u {name}:{password}",
11553 "name": "GetFreshdesk_Accounts",
11554 "group": "Freshdesk_Accounts",
11555 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11556 "version": "0.0.0",
11557 "filename": "server/api/intFreshdeskAccount/index.js",
11558 "groupTitle": "Freshdesk_Accounts"
11562 "url": "/api/integrations/freshdesk/accounts/{id}",
11563 "title": "Gets a single Freshdesk Account",
11566 "title": "Example usage:",
11567 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id} -v -u {name}:{password}",
11571 "name": "ShowFreshdesk_Accounts",
11572 "group": "Freshdesk_Accounts",
11573 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11574 "version": "0.0.0",
11575 "filename": "server/api/intFreshdeskAccount/index.js",
11576 "groupTitle": "Freshdesk_Accounts"
11580 "url": "/api/integrations/freshdesk/accounts/{id}/configurations",
11581 "title": "Creates new configuration",
11584 "title": "Example usage:",
11585 "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",
11589 "name": "addConfiguration",
11590 "group": "Freshdesk_Accounts",
11591 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11592 "version": "0.0.0",
11593 "filename": "server/api/intFreshdeskAccount/index.js",
11594 "groupTitle": "Freshdesk_Accounts"
11598 "url": "/api/integrations/freshdesk/accounts/{id}/configurations",
11599 "title": "Gets account configurations",
11602 "title": "Example usage:",
11603 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
11607 "name": "getConfigurations",
11608 "group": "Freshdesk_Accounts",
11609 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11610 "version": "0.0.0",
11611 "filename": "server/api/intFreshdeskAccount/index.js",
11612 "groupTitle": "Freshdesk_Accounts"
11616 "url": "/api/integrations/freshdesk/accounts/{id}/fields",
11617 "title": "Gets account fields",
11620 "title": "Example usage:",
11621 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id}/fields -v -u {name}:{password} -X GET",
11625 "name": "getFields",
11626 "group": "Freshdesk_Accounts",
11627 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11628 "version": "0.0.0",
11629 "filename": "server/api/intFreshdeskAccount/index.js",
11630 "groupTitle": "Freshdesk_Accounts"
11634 "url": "/api/integrations/freshdesk/accounts/{id}",
11635 "title": "Update an existing Freshdesk Account",
11638 "title": "Example usage:",
11639 "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",
11643 "name": "updateFreshdesk_Accounts",
11644 "group": "Freshdesk_Accounts",
11645 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11646 "version": "0.0.0",
11647 "filename": "server/api/intFreshdeskAccount/index.js",
11648 "groupTitle": "Freshdesk_Accounts"
11652 "url": "/api/integrations/freshdesk/configurations",
11653 "title": "Creates a new Freshdesk Configuration",
11656 "title": "Example usage:",
11657 "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",
11661 "name": "CreateFreshdesk_Configurations",
11662 "group": "Freshdesk_Configurations",
11677 "field": "description",
11683 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11684 "version": "0.0.0",
11685 "filename": "server/api/intFreshdeskConfiguration/index.js",
11686 "groupTitle": "Freshdesk_Configurations"
11690 "url": "/api/integrations/freshdesk/configurations/{id}",
11691 "title": "Deletes a Freshdesk Configuration",
11694 "title": "Example usage:",
11695 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id} -v -u {name}:{password} -X DELETE",
11699 "name": "DeleteFreshdesk_Configurations",
11700 "group": "Freshdesk_Configurations",
11701 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11702 "version": "0.0.0",
11703 "filename": "server/api/intFreshdeskConfiguration/index.js",
11704 "groupTitle": "Freshdesk_Configurations"
11708 "url": "/api/integrations/freshdesk/configurations",
11709 "title": "Gets a list of Freshdesk Configurations",
11712 "title": "Example usage:",
11713 "content": "curl https://{domain}/api/integrations/freshdesk/configurations -v -u {name}:{password}",
11717 "name": "GetFreshdesk_Configurations",
11718 "group": "Freshdesk_Configurations",
11719 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11720 "version": "0.0.0",
11721 "filename": "server/api/intFreshdeskConfiguration/index.js",
11722 "groupTitle": "Freshdesk_Configurations"
11726 "url": "/api/integrations/freshdesk/configurations/{id}",
11727 "title": "Gets a single Freshdesk Configuration",
11730 "title": "Example usage:",
11731 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id} -v -u {name}:{password}",
11735 "name": "ShowFreshdesk_Configurations",
11736 "group": "Freshdesk_Configurations",
11737 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11738 "version": "0.0.0",
11739 "filename": "server/api/intFreshdeskConfiguration/index.js",
11740 "groupTitle": "Freshdesk_Configurations"
11744 "url": "/api/integrations/freshdesk/configurations/{id}/descriptions",
11745 "title": "Gets configurations descriptions",
11748 "title": "Example usage:",
11749 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
11753 "name": "getDescriptions",
11754 "group": "Freshdesk_Configurations",
11755 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11756 "version": "0.0.0",
11757 "filename": "server/api/intFreshdeskConfiguration/index.js",
11758 "groupTitle": "Freshdesk_Configurations"
11762 "url": "/api/integrations/freshdesk/configurations/{id}/fields",
11763 "title": "Gets configurations fields",
11766 "title": "Example usage:",
11767 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/fields -v -u {name}:{password} -X GET",
11771 "name": "getFields",
11772 "group": "Freshdesk_Configurations",
11773 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11774 "version": "0.0.0",
11775 "filename": "server/api/intFreshdeskConfiguration/index.js",
11776 "groupTitle": "Freshdesk_Configurations"
11780 "url": "/api/integrations/freshdesk/configurations/{id}/subjects",
11781 "title": "Gets configurations subjects",
11784 "title": "Example usage:",
11785 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
11789 "name": "getSubjects",
11790 "group": "Freshdesk_Configurations",
11791 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11792 "version": "0.0.0",
11793 "filename": "server/api/intFreshdeskConfiguration/index.js",
11794 "groupTitle": "Freshdesk_Configurations"
11798 "url": "/api/integrations/freshdesk/configurations/{id}/tags",
11799 "title": "Gets configurations tags",
11802 "title": "Example usage:",
11803 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/tags -v -u {name}:{password} -X GET",
11808 "group": "Freshdesk_Configurations",
11809 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11810 "version": "0.0.0",
11811 "filename": "server/api/intFreshdeskConfiguration/index.js",
11812 "groupTitle": "Freshdesk_Configurations"
11816 "url": "/api/integrations/freshdesk/configurations/{id}/tags",
11817 "title": "Sets new tags",
11820 "title": "Example usage:",
11821 "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",
11826 "group": "Freshdesk_Configurations",
11827 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11828 "version": "0.0.0",
11829 "filename": "server/api/intFreshdeskConfiguration/index.js",
11830 "groupTitle": "Freshdesk_Configurations"
11834 "url": "/api/integrations/freshdesk/configurations/{id}",
11835 "title": "Update an existing Freshdesk Configuration",
11838 "title": "Example usage:",
11839 "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",
11843 "name": "updateFreshdesk_Configurations",
11844 "group": "Freshdesk_Configurations",
11845 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11846 "version": "0.0.0",
11847 "filename": "server/api/intFreshdeskConfiguration/index.js",
11848 "groupTitle": "Freshdesk_Configurations"
11852 "url": "/api/integrations/freshdesk/fields",
11853 "title": "Creates a new Freshdesk Field",
11856 "title": "Example usage:",
11857 "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",
11861 "name": "CreateFreshdesk_Fields",
11862 "group": "Freshdesk_Fields",
11872 "\"customVariable\"",
11883 "field": "content",
11899 "\"customVariable\""
11902 "field": "keyType",
11909 "field": "keyContent",
11916 "field": "idField",
11923 "field": "nameField",
11930 "field": "customField",
11937 "field": "variableName",
11943 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11944 "version": "0.0.0",
11945 "filename": "server/api/intFreshdeskField/index.js",
11946 "groupTitle": "Freshdesk_Fields"
11950 "url": "/api/integrations/freshdesk/fields/{id}",
11951 "title": "Deletes a Freshdesk Field",
11954 "title": "Example usage:",
11955 "content": "curl https://{domain}/api/integrations/freshdesk/fields/{id} -v -u {name}:{password} -X DELETE",
11959 "name": "DeleteFreshdesk_Fields",
11960 "group": "Freshdesk_Fields",
11961 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11962 "version": "0.0.0",
11963 "filename": "server/api/intFreshdeskField/index.js",
11964 "groupTitle": "Freshdesk_Fields"
11968 "url": "/api/integrations/freshdesk/fields",
11969 "title": "Gets a list of Freshdesk Fields",
11972 "title": "Example usage:",
11973 "content": "curl https://{domain}/api/integrations/freshdesk/fields -v -u {name}:{password}",
11977 "name": "GetFreshdesk_Fields",
11978 "group": "Freshdesk_Fields",
11979 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
11980 "version": "0.0.0",
11981 "filename": "server/api/intFreshdeskField/index.js",
11982 "groupTitle": "Freshdesk_Fields"
11986 "url": "/api/integrations/freshdesk/fields/{id}",
11987 "title": "Gets a single Freshdesk Field",
11990 "title": "Example usage:",
11991 "content": "curl https://{domain}/api/integrations/freshdesk/fields/{id} -v -u {name}:{password}",
11995 "name": "ShowFreshdesk_Fields",
11996 "group": "Freshdesk_Fields",
11997 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11998 "version": "0.0.0",
11999 "filename": "server/api/intFreshdeskField/index.js",
12000 "groupTitle": "Freshdesk_Fields"
12004 "url": "/api/integrations/freshdesk/fields/{id}",
12005 "title": "Update an existing Freshdesk Field",
12008 "title": "Example usage:",
12009 "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",
12013 "name": "updateFreshdesk_Fields",
12014 "group": "Freshdesk_Fields",
12015 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12016 "version": "0.0.0",
12017 "filename": "server/api/intFreshdeskField/index.js",
12018 "groupTitle": "Freshdesk_Fields"
12022 "url": "/api/integrations/freshsales/accounts",
12023 "title": "Creates a new Freshsales Account",
12026 "title": "Example usage:",
12027 "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",
12031 "name": "CreateFreshsales_Accounts",
12032 "group": "Freshsales_Accounts",
12047 "field": "description",
12054 "field": "username",
12068 "field": "remoteUri",
12075 "field": "serverUrl",
12081 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12082 "version": "0.0.0",
12083 "filename": "server/api/intFreshsalesAccount/index.js",
12084 "groupTitle": "Freshsales_Accounts"
12088 "url": "/api/integrations/freshsales/accounts/{id}",
12089 "title": "Deletes a Freshsales Account",
12092 "title": "Example usage:",
12093 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id} -v -u {name}:{password} -X DELETE",
12097 "name": "DeleteFreshsales_Accounts",
12098 "group": "Freshsales_Accounts",
12099 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12100 "version": "0.0.0",
12101 "filename": "server/api/intFreshsalesAccount/index.js",
12102 "groupTitle": "Freshsales_Accounts"
12106 "url": "/api/integrations/freshsales/accounts",
12107 "title": "Gets a list of Freshsales Accounts",
12110 "title": "Example usage:",
12111 "content": "curl https://{domain}/api/integrations/freshsales/accounts -v -u {name}:{password}",
12115 "name": "GetFreshsales_Accounts",
12116 "group": "Freshsales_Accounts",
12117 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
12118 "version": "0.0.0",
12119 "filename": "server/api/intFreshsalesAccount/index.js",
12120 "groupTitle": "Freshsales_Accounts"
12124 "url": "/api/integrations/freshsales/accounts/{id}",
12125 "title": "Gets a single Freshsales Account",
12128 "title": "Example usage:",
12129 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id} -v -u {name}:{password}",
12133 "name": "ShowFreshsales_Accounts",
12134 "group": "Freshsales_Accounts",
12135 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12136 "version": "0.0.0",
12137 "filename": "server/api/intFreshsalesAccount/index.js",
12138 "groupTitle": "Freshsales_Accounts"
12142 "url": "/api/integrations/freshsales/accounts/{id}/configurations",
12143 "title": "Creates new configuration",
12146 "title": "Example usage:",
12147 "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",
12151 "name": "addConfiguration",
12152 "group": "Freshsales_Accounts",
12153 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12154 "version": "0.0.0",
12155 "filename": "server/api/intFreshsalesAccount/index.js",
12156 "groupTitle": "Freshsales_Accounts"
12160 "url": "/api/integrations/freshsales/accounts/{id}/configurations",
12161 "title": "Gets account configurations",
12164 "title": "Example usage:",
12165 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id}/configurations -v -u {name}:{password} -X GET",
12169 "name": "getConfigurations",
12170 "group": "Freshsales_Accounts",
12171 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12172 "version": "0.0.0",
12173 "filename": "server/api/intFreshsalesAccount/index.js",
12174 "groupTitle": "Freshsales_Accounts"
12178 "url": "/api/integrations/freshsales/accounts/{id}/fields",
12179 "title": "Gets account fields",
12182 "title": "Example usage:",
12183 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id}/fields -v -u {name}:{password} -X GET",
12187 "name": "getFields",
12188 "group": "Freshsales_Accounts",
12189 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12190 "version": "0.0.0",
12191 "filename": "server/api/intFreshsalesAccount/index.js",
12192 "groupTitle": "Freshsales_Accounts"
12196 "url": "/api/integrations/freshsales/accounts/{id}",
12197 "title": "Update an existing Freshsales Account",
12200 "title": "Example usage:",
12201 "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",
12205 "name": "updateFreshsales_Accounts",
12206 "group": "Freshsales_Accounts",
12207 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12208 "version": "0.0.0",
12209 "filename": "server/api/intFreshsalesAccount/index.js",
12210 "groupTitle": "Freshsales_Accounts"
12214 "url": "/api/integrations/freshsales/configurations",
12215 "title": "Creates a new Freshsales Configuration",
12218 "title": "Example usage:",
12219 "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",
12223 "name": "CreateFreshsales_Configurations",
12224 "group": "Freshsales_Configurations",
12239 "field": "description",
12245 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12246 "version": "0.0.0",
12247 "filename": "server/api/intFreshsalesConfiguration/index.js",
12248 "groupTitle": "Freshsales_Configurations"
12252 "url": "/api/integrations/freshsales/configurations/{id}",
12253 "title": "Deletes a Freshsales Configuration",
12256 "title": "Example usage:",
12257 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id} -v -u {name}:{password} -X DELETE",
12261 "name": "DeleteFreshsales_Configurations",
12262 "group": "Freshsales_Configurations",
12263 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12264 "version": "0.0.0",
12265 "filename": "server/api/intFreshsalesConfiguration/index.js",
12266 "groupTitle": "Freshsales_Configurations"
12270 "url": "/api/integrations/freshsales/configurations",
12271 "title": "Gets a list of Freshsales Configurations",
12274 "title": "Example usage:",
12275 "content": "curl https://{domain}/api/integrations/freshsales/configurations -v -u {name}:{password}",
12279 "name": "GetFreshsales_Configurations",
12280 "group": "Freshsales_Configurations",
12281 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
12282 "version": "0.0.0",
12283 "filename": "server/api/intFreshsalesConfiguration/index.js",
12284 "groupTitle": "Freshsales_Configurations"
12288 "url": "/api/integrations/freshsales/configurations/{id}",
12289 "title": "Gets a single Freshsales Configuration",
12292 "title": "Example usage:",
12293 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id} -v -u {name}:{password}",
12297 "name": "ShowFreshsales_Configurations",
12298 "group": "Freshsales_Configurations",
12299 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12300 "version": "0.0.0",
12301 "filename": "server/api/intFreshsalesConfiguration/index.js",
12302 "groupTitle": "Freshsales_Configurations"
12306 "url": "/api/integrations/freshsales/configurations/{id}/descriptions",
12307 "title": "Gets configurations descriptions",
12310 "title": "Example usage:",
12311 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
12315 "name": "getDescriptions",
12316 "group": "Freshsales_Configurations",
12317 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12318 "version": "0.0.0",
12319 "filename": "server/api/intFreshsalesConfiguration/index.js",
12320 "groupTitle": "Freshsales_Configurations"
12324 "url": "/api/integrations/freshsales/configurations/{id}/fields",
12325 "title": "Gets configurations fields",
12328 "title": "Example usage:",
12329 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/fields -v -u {name}:{password} -X GET",
12333 "name": "getFields",
12334 "group": "Freshsales_Configurations",
12335 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12336 "version": "0.0.0",
12337 "filename": "server/api/intFreshsalesConfiguration/index.js",
12338 "groupTitle": "Freshsales_Configurations"
12342 "url": "/api/integrations/freshsales/configurations/{id}/subjects",
12343 "title": "Gets configurations subjects",
12346 "title": "Example usage:",
12347 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/subjects -v -u {name}:{password} -X GET",
12351 "name": "getSubjects",
12352 "group": "Freshsales_Configurations",
12353 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12354 "version": "0.0.0",
12355 "filename": "server/api/intFreshsalesConfiguration/index.js",
12356 "groupTitle": "Freshsales_Configurations"
12360 "url": "/api/integrations/freshsales/configurations/{id}",
12361 "title": "Update an existing Freshsales Configuration",
12364 "title": "Example usage:",
12365 "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",
12369 "name": "updateFreshsales_Configurations",
12370 "group": "Freshsales_Configurations",
12371 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12372 "version": "0.0.0",
12373 "filename": "server/api/intFreshsalesConfiguration/index.js",
12374 "groupTitle": "Freshsales_Configurations"
12378 "url": "/api/integrations/freshsales/fields",
12379 "title": "Creates a new Freshsales Field",
12382 "title": "Example usage:",
12383 "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",
12387 "name": "CreateFreshsales_Fields",
12388 "group": "Freshsales_Fields",
12398 "\"customVariable\"",
12409 "field": "content",
12425 "\"customVariable\""
12428 "field": "keyType",
12435 "field": "keyContent",
12442 "field": "idField",
12449 "field": "nameField",
12456 "field": "customField",
12463 "field": "variableName",
12469 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12470 "version": "0.0.0",
12471 "filename": "server/api/intFreshsalesField/index.js",
12472 "groupTitle": "Freshsales_Fields"
12476 "url": "/api/integrations/freshsales/fields/{id}",
12477 "title": "Deletes a Freshsales Field",
12480 "title": "Example usage:",
12481 "content": "curl https://{domain}/api/integrations/freshsales/fields/{id} -v -u {name}:{password} -X DELETE",
12485 "name": "DeleteFreshsales_Fields",
12486 "group": "Freshsales_Fields",
12487 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12488 "version": "0.0.0",
12489 "filename": "server/api/intFreshsalesField/index.js",
12490 "groupTitle": "Freshsales_Fields"
12494 "url": "/api/integrations/freshsales/fields",
12495 "title": "Gets a list of Freshsales Fields",
12498 "title": "Example usage:",
12499 "content": "curl https://{domain}/api/integrations/freshsales/fields -v -u {name}:{password}",
12503 "name": "GetFreshsales_Fields",
12504 "group": "Freshsales_Fields",
12505 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
12506 "version": "0.0.0",
12507 "filename": "server/api/intFreshsalesField/index.js",
12508 "groupTitle": "Freshsales_Fields"
12512 "url": "/api/integrations/freshsales/fields/{id}",
12513 "title": "Gets a single Freshsales Field",
12516 "title": "Example usage:",
12517 "content": "curl https://{domain}/api/integrations/freshsales/fields/{id} -v -u {name}:{password}",
12521 "name": "ShowFreshsales_Fields",
12522 "group": "Freshsales_Fields",
12523 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12524 "version": "0.0.0",
12525 "filename": "server/api/intFreshsalesField/index.js",
12526 "groupTitle": "Freshsales_Fields"
12530 "url": "/api/integrations/freshsales/fields/{id}",
12531 "title": "Update an existing Freshsales Field",
12534 "title": "Example usage:",
12535 "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",
12539 "name": "updateFreshsales_Fields",
12540 "group": "Freshsales_Fields",
12541 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12542 "version": "0.0.0",
12543 "filename": "server/api/intFreshsalesField/index.js",
12544 "groupTitle": "Freshsales_Fields"
12548 "url": "/api/campaigns/{id}/blacklists",
12549 "title": "Add blacklists to an IVR campaign",
12552 "title": "Example usage:",
12553 "content": "curl https://{domain}/api/campaigns/{id}/blacklists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
12557 "name": "AddBlackLists",
12558 "group": "IVR_Campaigns",
12559 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12560 "version": "0.0.0",
12561 "filename": "server/api/campaign/index.js",
12562 "groupTitle": "IVR_Campaigns"
12566 "url": "/api/campaigns/{id}/lists",
12567 "title": "Add lists to an IVR campaign",
12570 "title": "Example usage:",
12571 "content": "curl https://{domain}/api/campaigns/{id}/lists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
12575 "name": "AddLists",
12576 "group": "IVR_Campaigns",
12577 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12578 "version": "0.0.0",
12579 "filename": "server/api/campaign/index.js",
12580 "groupTitle": "IVR_Campaigns"
12584 "url": "/api/campaigns/clone",
12585 "title": "Clone an existing IVR Campaign",
12588 "title": "Example usage:",
12589 "content": "curl https://{domain}/api/campaigns/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
12593 "name": "CloneIVR_Campaigns",
12594 "group": "IVR_Campaigns",
12595 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12596 "version": "0.0.0",
12597 "filename": "server/api/campaign/index.js",
12598 "groupTitle": "IVR_Campaigns"
12602 "url": "/api/campaigns",
12603 "title": "Creates a new IVR Campaign",
12606 "title": "Example usage:",
12607 "content": "curl https://{domain}/api/campaigns -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
12611 "name": "CreateIVR_Campaigns",
12612 "group": "IVR_Campaigns",
12637 "field": "description",
12645 "description": "<p>Active/Disactive Campaign</p>"
12651 "field": "limitCalls",
12652 "description": "<p>Max 200 calls.</p>"
12658 "field": "dialOriginateCallerIdName",
12665 "field": "dialOriginateCallerIdNumber",
12672 "field": "dialOriginateTimeout",
12673 "description": "<p>Originate Timeout Seconds (min:1, max:999)</p>"
12679 "field": "dialCongestionMaxRetry",
12680 "description": "<p>#Congestion Retry (min:1, max:999)</p>"
12686 "field": "dialCongestionRetryFrequency",
12687 "description": "<p>Congestion Retry Frequency Minutes (min:1, max:99999)</p>"
12693 "field": "dialBusyMaxRetry",
12694 "description": "<p>#Busy Retry (min:1, max:999)</p>"
12700 "field": "dialBusyRetryFrequency",
12701 "description": "<p>Busy Retry Frequency Minutes (min:1, max:99999)</p>"
12707 "field": "dialNoAnswerMaxRetry",
12708 "description": "<p>#NoAnswer Retry (min:1, max:999)</p>"
12714 "field": "dialNoAnswerRetryFrequency",
12715 "description": "<p>NoAnswer Retry Frequency Minutes (min:1, max:99999)</p>"
12721 "field": "dialGlobalMaxRetry",
12722 "description": "<p>#Global Max Retry (min:1, max:999)</p>"
12728 "field": "dialTimezone",
12735 "field": "dialGlobalInterval",
12747 "field": "dialCheckDuplicateType",
12754 "field": "dialAMDActive",
12755 "description": "<p>Active/Disactive AMD</p>"
12761 "field": "dialAMDInitialSilence",
12762 "description": "<p>#AMD Initial Silence</p>"
12768 "field": "dialAMDGreeting",
12769 "description": "<p>#AMD Greeting</p>"
12775 "field": "dialAMDAfterGreetingSilence",
12776 "description": "<p>#AMD After Greeting Silence</p>"
12782 "field": "dialAMDTotalAnalysisTime",
12783 "description": "<p>#AMD Total Analysis Time</p>"
12789 "field": "dialAMDMinWordLength",
12790 "description": "<p>#AMD Min Word Length</p>"
12796 "field": "dialAMDBetweenWordsSilence",
12797 "description": "<p>#AMD Between Words Silence</p>"
12803 "field": "dialAMDMaximumNumberOfWords",
12804 "description": "<p>#AMD Maximum Number Of Words</p>"
12810 "field": "dialAMDSilenceThreshold",
12811 "description": "<p>#AMD Silence Threshold (min:0, max:32767)</p>"
12817 "field": "dialAMDMaximumWordLength",
12818 "description": "<p>#AMD Maximum Word Length</p>"
12828 "field": "dialOrderByScheduledAt",
12835 "field": "dialPrefix",
12842 "field": "dialRandomLastDigitCallerIdNumber",
12843 "description": "<p>Random Last Digit (min:1, max:15)</p>"
12849 "field": "dialCutDigit",
12850 "description": "<p>Cut Digit (min:1, max:15)</p>"
12856 "field": "dialNoSuchNumberMaxRetry",
12857 "description": "<p>#NoSuchNumber Retry (min:1, max:999)</p>"
12863 "field": "dialNoSuchNumberRetryFrequency",
12864 "description": "<p>NoSuchNumber Retry Frequency Minutes (min:1, max:99999)</p>"
12870 "field": "dialDropMaxRetry",
12871 "description": "<p>#Drop Retry (min:1, max:999)</p>"
12877 "field": "dialDropRetryFrequency",
12878 "description": "<p>Drop Retry Frequency Minutes (min:1, max:99999)</p>"
12884 "field": "dialAbandonedMaxRetry",
12885 "description": "<p>#Abandoned Retry (min:1, max:999)</p>"
12891 "field": "dialAbandonedRetryFrequency",
12892 "description": "<p>Abandoned Retry Frequency Minutes (min:1, max:99999)</p>"
12898 "field": "dialMachineMaxRetry",
12899 "description": "<p>#Machine Retry (min:1, max:999)</p>"
12905 "field": "dialMachineRetryFrequency",
12906 "description": "<p>Machine Retry Frequency Minutes (min:1, max:99999)</p>"
12912 "field": "dialAgentRejectMaxRetry",
12913 "description": "<p>#AgentReject Retry (min:1, max:999)</p>"
12919 "field": "dialAgentRejectRetryFrequency",
12920 "description": "<p>AgentReject Retry Frequency Minutes (min:1, max:99999)</p>"
12925 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12926 "version": "0.0.0",
12927 "filename": "server/api/campaign/index.js",
12928 "groupTitle": "IVR_Campaigns"
12932 "url": "/api/campaigns/{id}",
12933 "title": "Deletes a IVR Campaign",
12936 "title": "Example usage:",
12937 "content": "curl https://{domain}/api/campaigns/{id} -v -u {name}:{password} -X DELETE",
12941 "name": "DeleteIVR_Campaigns",
12942 "group": "IVR_Campaigns",
12943 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12944 "version": "0.0.0",
12945 "filename": "server/api/campaign/index.js",
12946 "groupTitle": "IVR_Campaigns"
12950 "url": "/api/campaigns/{id}/blacklists",
12951 "title": "Get IVR campaign blacklists",
12954 "title": "Example usage:",
12955 "content": "curl https://{domain}/api/campaigns/{id}/blacklists -v -u {name}:{password} -X GET",
12959 "name": "GetBlackLists",
12960 "group": "IVR_Campaigns",
12961 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12962 "version": "0.0.0",
12963 "filename": "server/api/campaign/index.js",
12964 "groupTitle": "IVR_Campaigns"
12968 "url": "/api/campaigns/{id}/finals",
12969 "title": "Gets IVR campaign hopper finals",
12972 "title": "Example usage:",
12973 "content": "curl https://{domain}/api/campaigns/{id}/hopper_finals -v -u {name}:{password} -X GET",
12977 "name": "GetHopperFinals",
12978 "group": "IVR_Campaigns",
12979 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12980 "version": "0.0.0",
12981 "filename": "server/api/campaign/index.js",
12982 "groupTitle": "IVR_Campaigns"
12986 "url": "/api/campaigns/{id}/hopper_histories",
12987 "title": "Gets IVR campaign hopper histories",
12990 "title": "Example usage:",
12991 "content": "curl https://{domain}/api/campaigns/{id}/hopper_histories -v -u {name}:{password} -X GET",
12995 "name": "GetHopperHistories",
12996 "group": "IVR_Campaigns",
12997 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12998 "version": "0.0.0",
12999 "filename": "server/api/campaign/index.js",
13000 "groupTitle": "IVR_Campaigns"
13004 "url": "/api/campaigns/{id}/hoppers",
13005 "title": "Gets IVR campaign hoppers",
13008 "title": "Example usage:",
13009 "content": "curl https://{domain}/api/campaigns/{id}/hoppers -v -u {name}:{password} -X GET",
13013 "name": "GetHoppers",
13014 "group": "IVR_Campaigns",
13015 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13016 "version": "0.0.0",
13017 "filename": "server/api/campaign/index.js",
13018 "groupTitle": "IVR_Campaigns"
13022 "url": "/api/campaigns",
13023 "title": "Gets a list of IVR Campaigns",
13026 "title": "Example usage:",
13027 "content": "curl https://{domain}/api/campaigns -v -u {name}:{password}",
13031 "name": "GetIVR_Campaigns",
13032 "group": "IVR_Campaigns",
13033 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
13034 "version": "0.0.0",
13035 "filename": "server/api/campaign/index.js",
13036 "groupTitle": "IVR_Campaigns"
13040 "url": "/api/campaigns/{id}/lists",
13041 "title": "Get IVR campaign lists",
13044 "title": "Example usage:",
13045 "content": "curl https://{domain}/api/campaigns/{id}/lists -v -u {name}:{password} -X GET",
13049 "name": "GetLists",
13050 "group": "IVR_Campaigns",
13051 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13052 "version": "0.0.0",
13053 "filename": "server/api/campaign/index.js",
13054 "groupTitle": "IVR_Campaigns"
13058 "url": "/api/campaigns/{id}/blacklists",
13059 "title": "Remove blacklists from an IVR Campaign",
13062 "title": "Example usage:",
13063 "content": "curl https://{domain}/api/campaigns/{id}/blacklists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
13067 "name": "RemoveBlackLists",
13068 "group": "IVR_Campaigns",
13069 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13070 "version": "0.0.0",
13071 "filename": "server/api/campaign/index.js",
13072 "groupTitle": "IVR_Campaigns"
13076 "url": "/api/campaigns/{id}/lists",
13077 "title": "Remove lists from an IVR Campaign",
13080 "title": "Example usage:",
13081 "content": "curl https://{domain}/api/campaigns/{id}/lists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
13085 "name": "RemoveLists",
13086 "group": "IVR_Campaigns",
13087 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13088 "version": "0.0.0",
13089 "filename": "server/api/campaign/index.js",
13090 "groupTitle": "IVR_Campaigns"
13094 "url": "/api/campaigns/{id}",
13095 "title": "Gets a single IVR Campaign",
13098 "title": "Example usage:",
13099 "content": "curl https://{domain}/api/campaigns/{id} -v -u {name}:{password}",
13103 "name": "ShowIVR_Campaigns",
13104 "group": "IVR_Campaigns",
13105 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13106 "version": "0.0.0",
13107 "filename": "server/api/campaign/index.js",
13108 "groupTitle": "IVR_Campaigns"
13112 "url": "/api/campaigns/{id}/blacks",
13113 "title": "Gets IVR campaign hopper blacks",
13116 "title": "Example usage:",
13117 "content": "curl https://{domain}/api/campaigns/{id}/hopper_black -v -u {name}:{password} -X GET",
13121 "name": "getHopperBlacks",
13122 "group": "IVR_Campaigns",
13123 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13124 "version": "0.0.0",
13125 "filename": "server/api/campaign/index.js",
13126 "groupTitle": "IVR_Campaigns"
13130 "url": "/api/campaigns/{id}",
13131 "title": "Update an existing IVR Campaign",
13134 "title": "Example usage:",
13135 "content": "curl https://{domain}/api/campaigns/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
13139 "name": "updateIVR_Campaigns",
13140 "group": "IVR_Campaigns",
13141 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13142 "version": "0.0.0",
13143 "filename": "server/api/campaign/index.js",
13144 "groupTitle": "IVR_Campaigns"
13148 "url": "/api/integrations/reports",
13149 "title": "Creates a new Integration Report",
13152 "title": "Example usage:",
13153 "content": "curl https://{domain}/api/integrations/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13157 "name": "CreateIntegration_Reports",
13158 "group": "Integration_Reports",
13166 "field": "integration",
13173 "field": "eventChannel",
13180 "field": "exitStatus",
13187 "field": "ticketId",
13194 "field": "integrationId",
13201 "field": "contacts",
13208 "field": "uniqueid",
13215 "field": "calleridnum",
13222 "field": "calleridname",
13236 "field": "interface",
13243 "field": "membername",
13250 "field": "agentcalledAt",
13257 "field": "agentconnectAt",
13264 "field": "holdtime",
13271 "field": "agentcomplete",
13278 "field": "agentcompleteAt",
13285 "field": "talktime",
13292 "field": "agentacw",
13299 "field": "acwtime",
13313 "field": "agentringnoanswer",
13320 "field": "agentringnoanswerAt",
13327 "field": "agentdump",
13334 "field": "agentdumpAt",
13341 "field": "lastevent",
13348 "field": "channel",
13355 "field": "channelstate",
13362 "field": "channelstatedesc",
13369 "field": "connectedlinenum",
13376 "field": "connectedlinename",
13383 "field": "language",
13390 "field": "accountcode",
13397 "field": "context",
13411 "field": "priority",
13418 "field": "destchannel",
13425 "field": "destchannelstate",
13432 "field": "destchannelstatedesc",
13439 "field": "destcalleridnum",
13446 "field": "destcalleridname",
13453 "field": "destconnectedlinenum",
13460 "field": "destconnectedlinename",
13467 "field": "destlanguage",
13474 "field": "destaccountcode",
13481 "field": "destcontext",
13488 "field": "destexten",
13495 "field": "destpriority",
13502 "field": "destuniqueid",
13509 "field": "messageId",
13516 "field": "inReplyTo",
13523 "field": "subject",
13551 "field": "attachment",
13599 "field": "appdata",
13606 "field": "projectId",
13612 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13613 "version": "0.0.0",
13614 "filename": "server/api/integrationReport/index.js",
13615 "groupTitle": "Integration_Reports"
13619 "url": "/api/integrations/reports/{id}",
13620 "title": "Deletes a Integration Report",
13623 "title": "Example usage:",
13624 "content": "curl https://{domain}/api/integrations/reports/{id} -v -u {name}:{password} -X DELETE",
13628 "name": "DeleteIntegration_Reports",
13629 "group": "Integration_Reports",
13630 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13631 "version": "0.0.0",
13632 "filename": "server/api/integrationReport/index.js",
13633 "groupTitle": "Integration_Reports"
13637 "url": "/api/integrations/reports/describe",
13638 "title": "Gets table info about Integration Reports",
13641 "title": "Example usage:",
13642 "content": "curl https://{domain}/api/integrations/reports/describe -v -u {name}:{password}",
13646 "name": "DescribeIntegration_Reports",
13647 "group": "Integration_Reports",
13648 "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>",
13649 "version": "0.0.0",
13650 "filename": "server/api/integrationReport/index.js",
13651 "groupTitle": "Integration_Reports"
13655 "url": "/api/integrations/reports",
13656 "title": "Gets a list of Integration Reports",
13659 "title": "Example usage:",
13660 "content": "curl https://{domain}/api/integrations/reports -v -u {name}:{password}",
13664 "name": "GetIntegration_Reports",
13665 "group": "Integration_Reports",
13666 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
13667 "version": "0.0.0",
13668 "filename": "server/api/integrationReport/index.js",
13669 "groupTitle": "Integration_Reports"
13673 "url": "/api/integrations/reports/{id}",
13674 "title": "Gets a single Integration Report",
13677 "title": "Example usage:",
13678 "content": "curl https://{domain}/api/integrations/reports/{id} -v -u {name}:{password}",
13682 "name": "ShowIntegration_Reports",
13683 "group": "Integration_Reports",
13684 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13685 "version": "0.0.0",
13686 "filename": "server/api/integrationReport/index.js",
13687 "groupTitle": "Integration_Reports"
13691 "url": "/api/integrations/reports/{id}",
13692 "title": "Update an existing Integration Report",
13695 "title": "Example usage:",
13696 "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",
13700 "name": "updateIntegration_Reports",
13701 "group": "Integration_Reports",
13702 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13703 "version": "0.0.0",
13704 "filename": "server/api/integrationReport/index.js",
13705 "groupTitle": "Integration_Reports"
13709 "url": "/api/intervals",
13710 "title": "Creates a new Interval",
13713 "title": "Example usage:",
13714 "content": "curl https://{domain}/api/intervals -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13718 "name": "CreateIntervals",
13719 "group": "Intervals",
13734 "field": "description",
13741 "field": "interval",
13747 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13748 "version": "0.0.0",
13749 "filename": "server/api/interval/index.js",
13750 "groupTitle": "Intervals"
13754 "url": "/api/intervals/{id}",
13755 "title": "Deletes a Interval",
13758 "title": "Example usage:",
13759 "content": "curl https://{domain}/api/intervals/{id} -v -u {name}:{password} -X DELETE",
13763 "name": "DeleteIntervals",
13764 "group": "Intervals",
13765 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13766 "version": "0.0.0",
13767 "filename": "server/api/interval/index.js",
13768 "groupTitle": "Intervals"
13772 "url": "/api/intervals",
13773 "title": "Gets a list of Intervals",
13776 "title": "Example usage:",
13777 "content": "curl https://{domain}/api/intervals -v -u {name}:{password}",
13781 "name": "GetIntervals",
13782 "group": "Intervals",
13783 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
13784 "version": "0.0.0",
13785 "filename": "server/api/interval/index.js",
13786 "groupTitle": "Intervals"
13790 "url": "/api/intervals/{id}",
13791 "title": "Gets a single Interval",
13794 "title": "Example usage:",
13795 "content": "curl https://{domain}/api/intervals/{id} -v -u {name}:{password}",
13799 "name": "ShowIntervals",
13800 "group": "Intervals",
13801 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13802 "version": "0.0.0",
13803 "filename": "server/api/interval/index.js",
13804 "groupTitle": "Intervals"
13808 "url": "/api/intervals/{id}/sub_intervals",
13809 "title": "Creates a new sub interval",
13812 "title": "Example usage:",
13813 "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",
13817 "name": "addInterval",
13818 "group": "Intervals",
13819 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13820 "version": "0.0.0",
13821 "filename": "server/api/interval/index.js",
13822 "groupTitle": "Intervals"
13826 "url": "/api/intervals/{id}/sub_intervals/create_many",
13827 "title": "Create new sub intervals set",
13830 "title": "Example usage:",
13831 "content": "curl https://{domain}/api/intervals/{id}/sub_intervals -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
13835 "name": "addIntervals",
13836 "group": "Intervals",
13837 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13838 "version": "0.0.0",
13839 "filename": "server/api/interval/index.js",
13840 "groupTitle": "Intervals"
13844 "url": "/api/intervals/{id}/sub_intervals",
13845 "title": "Get sub intervals set",
13848 "title": "Example usage:",
13849 "content": "curl https://{domain}/api/intervals/{id}/sub_intervals -v -u {name}:{password} -X GET",
13853 "name": "getIntervals",
13854 "group": "Intervals",
13855 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13856 "version": "0.0.0",
13857 "filename": "server/api/interval/index.js",
13858 "groupTitle": "Intervals"
13862 "url": "/api/intervals/{id}",
13863 "title": "Update an existing Interval",
13866 "title": "Example usage:",
13867 "content": "curl https://{domain}/api/intervals/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
13871 "name": "updateIntervals",
13872 "group": "Intervals",
13873 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13874 "version": "0.0.0",
13875 "filename": "server/api/interval/index.js",
13876 "groupTitle": "Intervals"
13880 "url": "/api/jira",
13881 "title": "Creates a new issue",
13884 "title": "Example usage:",
13885 "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}",
13889 "name": "Creates_Issue",
13901 "field": "issuetype",
13908 "field": "summary",
13915 "field": "description",
13921 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13922 "version": "0.0.0",
13923 "filename": "server/api/jira/index.js",
13924 "groupTitle": "Issue"
13928 "url": "/api/jscripty/answers/reports",
13929 "title": "Creates a new Report",
13932 "title": "Example usage:",
13933 "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",
13937 "name": "CreateReports",
13938 "group": "JscriptyAnswerReport",
13946 "field": "question",
13960 "field": "membername",
13967 "field": "projectname",
13981 "field": "uniqueid",
13988 "field": "calleridname",
13995 "field": "calleridnum",
14002 "field": "questionId",
14008 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14009 "version": "0.0.0",
14010 "filename": "server/api/jscriptyAnswerReport/index.js",
14011 "groupTitle": "JscriptyAnswerReport"
14015 "url": "/api/jscripty/answers/reports/{id}",
14016 "title": "Deletes a Report",
14019 "title": "Example usage:",
14020 "content": "curl https://{domain}/api/jscripty/answers/reports/{id} -v -u {name}:{password} -X DELETE",
14024 "name": "DeleteReports",
14025 "group": "JscriptyAnswerReport",
14026 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14027 "version": "0.0.0",
14028 "filename": "server/api/jscriptyAnswerReport/index.js",
14029 "groupTitle": "JscriptyAnswerReport"
14033 "url": "/api/jscripty/answers/reports/describe",
14034 "title": "Gets table info about Reports",
14037 "title": "Example usage:",
14038 "content": "curl https://{domain}/api/jscripty/answers/reports/describe -v -u {name}:{password}",
14042 "name": "DescribeReports",
14043 "group": "JscriptyAnswerReport",
14044 "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>",
14045 "version": "0.0.0",
14046 "filename": "server/api/jscriptyAnswerReport/index.js",
14047 "groupTitle": "JscriptyAnswerReport"
14051 "url": "/api/jscripty/answers/reports",
14052 "title": "Gets a list of Reports",
14055 "title": "Example usage:",
14056 "content": "curl https://{domain}/api/jscripty/answers/reports -v -u {name}:{password}",
14060 "name": "GetReports",
14061 "group": "JscriptyAnswerReport",
14062 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
14063 "version": "0.0.0",
14064 "filename": "server/api/jscriptyAnswerReport/index.js",
14065 "groupTitle": "JscriptyAnswerReport"
14069 "url": "/api/jscripty/answers/reports/{id}",
14070 "title": "Gets a single Report",
14073 "title": "Example usage:",
14074 "content": "curl https://{domain}/api/jscripty/answers/reports/{id} -v -u {name}:{password}",
14078 "name": "ShowReports",
14079 "group": "JscriptyAnswerReport",
14080 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14081 "version": "0.0.0",
14082 "filename": "server/api/jscriptyAnswerReport/index.js",
14083 "groupTitle": "JscriptyAnswerReport"
14087 "url": "/api/jscripty/answers/reports/{id}",
14088 "title": "Update an existing Report",
14091 "title": "Example usage:",
14092 "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",
14096 "name": "updateReports",
14097 "group": "JscriptyAnswerReport",
14098 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14099 "version": "0.0.0",
14100 "filename": "server/api/jscriptyAnswerReport/index.js",
14101 "groupTitle": "JscriptyAnswerReport"
14105 "url": "/api/jscripty/questions/reports",
14106 "title": "Creates a new Report",
14109 "title": "Example usage:",
14110 "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",
14114 "name": "CreateReports",
14115 "group": "JscriptyQuestionReport",
14123 "field": "question",
14137 "field": "membername",
14144 "field": "projectname",
14158 "field": "uniqueid",
14165 "field": "calleridname",
14172 "field": "calleridnum",
14179 "field": "questionId",
14185 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14186 "version": "0.0.0",
14187 "filename": "server/api/jscriptyQuestionReport/index.js",
14188 "groupTitle": "JscriptyQuestionReport"
14192 "url": "/api/jscripty/questions/reports/{id}",
14193 "title": "Deletes a Report",
14196 "title": "Example usage:",
14197 "content": "curl https://{domain}/api/jscripty/questions/reports/{id} -v -u {name}:{password} -X DELETE",
14201 "name": "DeleteReports",
14202 "group": "JscriptyQuestionReport",
14203 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14204 "version": "0.0.0",
14205 "filename": "server/api/jscriptyQuestionReport/index.js",
14206 "groupTitle": "JscriptyQuestionReport"
14210 "url": "/api/jscripty/questions/reports/describe",
14211 "title": "Gets table info about Reports",
14214 "title": "Example usage:",
14215 "content": "curl https://{domain}/api/jscripty/questions/reports/describe -v -u {name}:{password}",
14219 "name": "DescribeReports",
14220 "group": "JscriptyQuestionReport",
14221 "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>",
14222 "version": "0.0.0",
14223 "filename": "server/api/jscriptyQuestionReport/index.js",
14224 "groupTitle": "JscriptyQuestionReport"
14228 "url": "/api/jscripty/questions/reports",
14229 "title": "Gets a list of Reports",
14232 "title": "Example usage:",
14233 "content": "curl https://{domain}/api/jscripty/questions/reports -v -u {name}:{password}",
14237 "name": "GetReports",
14238 "group": "JscriptyQuestionReport",
14239 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
14240 "version": "0.0.0",
14241 "filename": "server/api/jscriptyQuestionReport/index.js",
14242 "groupTitle": "JscriptyQuestionReport"
14246 "url": "/api/jscripty/questions/reports/{id}",
14247 "title": "Gets a single Report",
14250 "title": "Example usage:",
14251 "content": "curl https://{domain}/api/jscripty/questions/reports/{id} -v -u {name}:{password}",
14255 "name": "ShowReports",
14256 "group": "JscriptyQuestionReport",
14257 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14258 "version": "0.0.0",
14259 "filename": "server/api/jscriptyQuestionReport/index.js",
14260 "groupTitle": "JscriptyQuestionReport"
14264 "url": "/api/jscripty/questions/reports/{id}",
14265 "title": "Update an existing Report",
14268 "title": "Example usage:",
14269 "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",
14273 "name": "updateReports",
14274 "group": "JscriptyQuestionReport",
14275 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14276 "version": "0.0.0",
14277 "filename": "server/api/jscriptyQuestionReport/index.js",
14278 "groupTitle": "JscriptyQuestionReport"
14282 "url": "/api/jscripty/sessions/reports",
14283 "title": "Creates a new Report",
14286 "title": "Example usage:",
14287 "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",
14291 "name": "CreateReports",
14292 "group": "JscriptySessionReport",
14300 "field": "starttime",
14307 "field": "endtime",
14314 "field": "membername",
14321 "field": "projectname",
14335 "field": "uniqueid",
14342 "field": "calleridname",
14349 "field": "calleridnum",
14356 "field": "completed",
14362 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14363 "version": "0.0.0",
14364 "filename": "server/api/jscriptySessionReport/index.js",
14365 "groupTitle": "JscriptySessionReport"
14369 "url": "/api/jscripty/sessions/reports/{id}",
14370 "title": "Deletes a Report",
14373 "title": "Example usage:",
14374 "content": "curl https://{domain}/api/jscripty/sessions/reports/{id} -v -u {name}:{password} -X DELETE",
14378 "name": "DeleteReports",
14379 "group": "JscriptySessionReport",
14380 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14381 "version": "0.0.0",
14382 "filename": "server/api/jscriptySessionReport/index.js",
14383 "groupTitle": "JscriptySessionReport"
14387 "url": "/api/jscripty/sessions/reports/describe",
14388 "title": "Gets table info about Reports",
14391 "title": "Example usage:",
14392 "content": "curl https://{domain}/api/jscripty/sessions/reports/describe -v -u {name}:{password}",
14396 "name": "DescribeReports",
14397 "group": "JscriptySessionReport",
14398 "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>",
14399 "version": "0.0.0",
14400 "filename": "server/api/jscriptySessionReport/index.js",
14401 "groupTitle": "JscriptySessionReport"
14405 "url": "/api/jscripty/sessions/reports",
14406 "title": "Gets a list of Reports",
14409 "title": "Example usage:",
14410 "content": "curl https://{domain}/api/jscripty/sessions/reports -v -u {name}:{password}",
14414 "name": "GetReports",
14415 "group": "JscriptySessionReport",
14416 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
14417 "version": "0.0.0",
14418 "filename": "server/api/jscriptySessionReport/index.js",
14419 "groupTitle": "JscriptySessionReport"
14423 "url": "/api/jscripty/sessions/reports/{id}",
14424 "title": "Gets a single Report",
14427 "title": "Example usage:",
14428 "content": "curl https://{domain}/api/jscripty/sessions/reports/{id} -v -u {name}:{password}",
14432 "name": "ShowReports",
14433 "group": "JscriptySessionReport",
14434 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14435 "version": "0.0.0",
14436 "filename": "server/api/jscriptySessionReport/index.js",
14437 "groupTitle": "JscriptySessionReport"
14441 "url": "/api/jscripty/sessions/reports/{id}/questions",
14442 "title": "Gets Jscripty Session questions",
14445 "title": "Example usage:",
14446 "content": "curl https://{domain}/api/jscripty/sessions/reports/{id}/questions -v -u {name}:{password} -X GET",
14450 "name": "getQuestions",
14451 "group": "JscriptySessionReport",
14452 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14453 "version": "0.0.0",
14454 "filename": "server/api/jscriptySessionReport/index.js",
14455 "groupTitle": "JscriptySessionReport"
14459 "url": "/api/jscripty/sessions/reports/{id}",
14460 "title": "Update an existing Report",
14463 "title": "Example usage:",
14464 "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",
14468 "name": "updateReports",
14469 "group": "JscriptySessionReport",
14470 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14471 "version": "0.0.0",
14472 "filename": "server/api/jscriptySessionReport/index.js",
14473 "groupTitle": "JscriptySessionReport"
14477 "url": "/api/jscripty/projects/clone",
14478 "title": "Clone an existing Project",
14481 "title": "Example usage:",
14482 "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",
14486 "name": "CloneProjects",
14487 "group": "Jscripty_Projects",
14488 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14489 "version": "0.0.0",
14490 "filename": "server/api/jscriptyProject/index.js",
14491 "groupTitle": "Jscripty_Projects"
14495 "url": "/api/jscripty/projects",
14496 "title": "Creates a new Project",
14499 "title": "Example usage:",
14500 "content": "curl https://{domain}/api/jscripty/projects -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
14504 "name": "CreateProjects",
14505 "group": "Jscripty_Projects",
14520 "field": "description",
14527 "field": "formData",
14534 "field": "enableUncompleteSave",
14541 "field": "sendUnpauseOnSubmit",
14547 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14548 "version": "0.0.0",
14549 "filename": "server/api/jscriptyProject/index.js",
14550 "groupTitle": "Jscripty_Projects"
14554 "url": "/api/jscripty/projects/{id}",
14555 "title": "Deletes a Project",
14558 "title": "Example usage:",
14559 "content": "curl https://{domain}/api/jscripty/projects/{id} -v -u {name}:{password} -X DELETE",
14563 "name": "DeleteProjects",
14564 "group": "Jscripty_Projects",
14565 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14566 "version": "0.0.0",
14567 "filename": "server/api/jscriptyProject/index.js",
14568 "groupTitle": "Jscripty_Projects"
14572 "url": "/api/jscripty/projects",
14573 "title": "Gets a list of Projects",
14576 "title": "Example usage:",
14577 "content": "curl https://{domain}/api/jscripty/projects -v -u {name}:{password}",
14581 "name": "GetProjects",
14582 "group": "Jscripty_Projects",
14583 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
14584 "version": "0.0.0",
14585 "filename": "server/api/jscriptyProject/index.js",
14586 "groupTitle": "Jscripty_Projects"
14590 "url": "/api/jscripty/projects/{id}",
14591 "title": "Gets a single Project",
14594 "title": "Example usage:",
14595 "content": "curl https://{domain}/api/jscripty/projects/{id} -v -u {name}:{password}",
14599 "name": "ShowProjects",
14600 "group": "Jscripty_Projects",
14601 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14602 "version": "0.0.0",
14603 "filename": "server/api/jscriptyProject/index.js",
14604 "groupTitle": "Jscripty_Projects"
14608 "url": "/api/jscripty/projects/{id}/answers",
14609 "title": "Gets jscripty project answers",
14612 "title": "Example usage:",
14613 "content": "curl https://{domain}/api/jscripty/projects/{id}/answers -v -u {name}:{password} -X GET",
14617 "name": "getAnswers",
14618 "group": "Jscripty_Projects",
14619 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14620 "version": "0.0.0",
14621 "filename": "server/api/jscriptyProject/index.js",
14622 "groupTitle": "Jscripty_Projects"
14626 "url": "/api/jscripty/projects/{id}/sessions",
14627 "title": "Gets jscripty project sessions",
14630 "title": "Example usage:",
14631 "content": "curl https://{domain}/api/jscripty/projects/{id}/sessions -v -u {name}:{password} -X GET",
14635 "name": "getSessions",
14636 "group": "Jscripty_Projects",
14637 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14638 "version": "0.0.0",
14639 "filename": "server/api/jscriptyProject/index.js",
14640 "groupTitle": "Jscripty_Projects"
14644 "url": "/api/jscripty/projects/{id}/summary",
14645 "title": "Gets jscripty project summary",
14648 "title": "Example usage:",
14649 "content": "curl https://{domain}/api/jscripty/projects/{id}/summary -v -u {name}:{password} -X GET",
14653 "name": "getSummary",
14654 "group": "Jscripty_Projects",
14655 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14656 "version": "0.0.0",
14657 "filename": "server/api/jscriptyProject/index.js",
14658 "groupTitle": "Jscripty_Projects"
14662 "url": "/api/jscripty/projects/{id}",
14663 "title": "Update an existing Project",
14666 "title": "Example usage:",
14667 "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",
14671 "name": "updateProjects",
14672 "group": "Jscripty_Projects",
14673 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14674 "version": "0.0.0",
14675 "filename": "server/api/jscriptyProject/index.js",
14676 "groupTitle": "Jscripty_Projects"
14680 "url": "/api/license",
14681 "title": "Gets License Info",
14684 "title": "Example usage:",
14685 "content": "curl https://{domain}/api/license -v -u {name}:{password} -X GET",
14690 "group": "License",
14691 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14692 "version": "0.0.0",
14693 "filename": "server/api/license/index.js",
14694 "groupTitle": "License"
14698 "url": "/api/license/{id}",
14699 "title": "Update License Info",
14702 "title": "Example usage:",
14703 "content": "curl https://{domain}/api/license/{id} -v -u {name}:{password} -X PUT",
14708 "group": "License",
14709 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14710 "version": "0.0.0",
14711 "filename": "server/api/license/index.js",
14712 "groupTitle": "License"
14716 "url": "/api/mail/accounts/{id}/users",
14717 "title": "Add agents to a mail account",
14720 "title": "Example usage:",
14721 "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",
14725 "name": "AddAgents",
14726 "group": "Mail_Accounts",
14727 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14728 "version": "0.0.0",
14729 "filename": "server/api/mailAccount/index.js",
14730 "groupTitle": "Mail_Accounts"
14734 "url": "/api/mail/accounts/{id}/in_servers",
14735 "title": "Creates a new IMAP server",
14738 "title": "Example usage:",
14739 "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",
14744 "group": "Mail_Accounts",
14752 "field": "description",
14766 "field": "authentication",
14780 "field": "password",
14801 "field": "mailbox",
14808 "field": "connTimeout",
14815 "field": "authTimeout",
14822 "field": "service",
14828 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14829 "version": "0.0.0",
14830 "filename": "server/api/mailAccount/index.js",
14831 "groupTitle": "Mail_Accounts"
14835 "url": "/api/mail/accounts/{id}/out_servers",
14836 "title": "Creates a new SMTP server",
14839 "title": "Example usage:",
14840 "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",
14845 "group": "Mail_Accounts",
14853 "field": "description",
14895 "field": "service",
14902 "field": "authentication",
14908 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14909 "version": "0.0.0",
14910 "filename": "server/api/mailAccount/index.js",
14911 "groupTitle": "Mail_Accounts"
14915 "url": "/api/mail/accounts/{id}",
14916 "title": "Deletes a mail account",
14919 "title": "Example usage:",
14920 "content": "curl https://{domain}/api/mail/accounts/{id} -v -u {name}:{password} -X DELETE",
14924 "name": "DeleteMailAccounts",
14925 "group": "Mail_Accounts",
14926 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14927 "version": "0.0.0",
14928 "filename": "server/api/mailAccount/index.js",
14929 "groupTitle": "Mail_Accounts"
14933 "url": "/api/mail/accounts/describe",
14934 "title": "Gets table info about Accounts",
14937 "title": "Example usage:",
14938 "content": "curl https://{domain}/api/mail/accounts/describe -v -u {name}:{password}",
14942 "name": "DescribeAccounts",
14943 "group": "Mail_Accounts",
14944 "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>",
14945 "version": "0.0.0",
14946 "filename": "server/api/mailAccount/index.js",
14947 "groupTitle": "Mail_Accounts"
14951 "url": "/api/mail/accounts",
14952 "title": "Gets a list of Accounts",
14955 "title": "Example usage:",
14956 "content": "curl https://{domain}/api/mail/accounts -v -u {name}:{password}",
14960 "name": "GetAccounts",
14961 "group": "Mail_Accounts",
14962 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
14963 "version": "0.0.0",
14964 "filename": "server/api/mailAccount/index.js",
14965 "groupTitle": "Mail_Accounts"
14969 "url": "/api/mail/accounts/{id}/users",
14970 "title": "Gets agents from mail account",
14973 "title": "Example usage:",
14974 "content": "curl https://{domain}/api/mail/accounts/{id}/users -v -u {name}:{password} -X GET",
14978 "name": "GetAgents",
14979 "group": "Mail_Accounts",
14980 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14981 "version": "0.0.0",
14982 "filename": "server/api/mailAccount/index.js",
14983 "groupTitle": "Mail_Accounts"
14987 "url": "/api/mail/accounts/{id}/in_servers",
14988 "title": "Gets account IMAP server",
14991 "title": "Example usage:",
14992 "content": "curl https://{domain}/api/mail/accounts/{id}/in_servers -v -u {name}:{password} -X GET",
14997 "group": "Mail_Accounts",
14998 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14999 "version": "0.0.0",
15000 "filename": "server/api/mailAccount/index.js",
15001 "groupTitle": "Mail_Accounts"
15005 "url": "/api/mail/accounts/{id}/out_servers",
15006 "title": "Gets account SMTP server",
15009 "title": "Example usage:",
15010 "content": "curl https://{domain}/api/mail/accounts/{id}/out_servers -v -u {name}:{password} -X GET",
15015 "group": "Mail_Accounts",
15016 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15017 "version": "0.0.0",
15018 "filename": "server/api/mailAccount/index.js",
15019 "groupTitle": "Mail_Accounts"
15023 "url": "/api/mail/accounts/{id}/users",
15024 "title": "Removes agents from a mail account",
15027 "title": "Example usage:",
15028 "content": "curl https://{domain}/api/mail/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15032 "name": "RemoveAgents",
15033 "group": "Mail_Accounts",
15034 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15035 "version": "0.0.0",
15036 "filename": "server/api/mailAccount/index.js",
15037 "groupTitle": "Mail_Accounts"
15041 "url": "/api/mail/accounts/{id}/canned_answers",
15042 "title": "Removes canned answers from account",
15045 "title": "Example usage:",
15046 "content": "curl https://{domain}/api/mail/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15050 "name": "RemoveAnswers",
15051 "group": "Mail_Accounts",
15052 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15053 "version": "0.0.0",
15054 "filename": "server/api/mailAccount/index.js",
15055 "groupTitle": "Mail_Accounts"
15059 "url": "/api/mail/accounts/{id}/dispositions",
15060 "title": "Removes dispositions from account",
15063 "title": "Example usage:",
15064 "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15068 "name": "RemoveDispositions",
15069 "group": "Mail_Accounts",
15070 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15071 "version": "0.0.0",
15072 "filename": "server/api/mailAccount/index.js",
15073 "groupTitle": "Mail_Accounts"
15077 "url": "/api/mail/accounts/{id}/in_servers",
15078 "title": "Removes IMAP server from an account",
15081 "title": "Example usage:",
15082 "content": "curl https://{domain}/api/mail/accounts/{id}/in_servers -v -u {name}:{password} -X DELETE",
15086 "name": "RemoveImmap",
15087 "group": "Mail_Accounts",
15088 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15089 "version": "0.0.0",
15090 "filename": "server/api/mailAccount/index.js",
15091 "groupTitle": "Mail_Accounts"
15095 "url": "/api/mail/accounts/{id}/out_servers",
15096 "title": "Removes SMTP server from an account",
15099 "title": "Example usage:",
15100 "content": "curl https://{domain}/api/mail/accounts/{id}/out_servers -v -u {name}:{password} -X DELETE",
15104 "name": "RemoveSmtp",
15105 "group": "Mail_Accounts",
15106 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15107 "version": "0.0.0",
15108 "filename": "server/api/mailAccount/index.js",
15109 "groupTitle": "Mail_Accounts"
15113 "url": "/api/mail/accounts/{id}",
15114 "title": "Gets a single Account",
15117 "title": "Example usage:",
15118 "content": "curl https://{domain}/api/mail/accounts/{id} -v -u {name}:{password}",
15122 "name": "ShowAccounts",
15123 "group": "Mail_Accounts",
15124 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15125 "version": "0.0.0",
15126 "filename": "server/api/mailAccount/index.js",
15127 "groupTitle": "Mail_Accounts"
15131 "url": "/api/mail/accounts/{id}/canned_answers",
15132 "title": "Creates new canned answer",
15135 "title": "Example usage:",
15136 "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",
15140 "name": "addAnswer",
15141 "group": "Mail_Accounts",
15163 "field": "description",
15176 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15177 "version": "0.0.0",
15178 "filename": "server/api/mailAccount/index.js",
15179 "groupTitle": "Mail_Accounts"
15183 "url": "/api/mail/accounts/{id}/applications",
15184 "title": "Creates new applications",
15187 "title": "Example usage:",
15188 "content": "curl https://{domain}/api/mail/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15192 "name": "addApplications",
15193 "group": "Mail_Accounts",
15201 "field": "priority",
15215 "field": "appdata",
15222 "field": "description",
15229 "field": "interval",
15235 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15236 "version": "0.0.0",
15237 "filename": "server/api/mailAccount/index.js",
15238 "groupTitle": "Mail_Accounts"
15242 "url": "/api/mail/accounts/{id}/dispositions",
15243 "title": "Creates new disposition",
15246 "title": "Example usage:",
15247 "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15251 "name": "addDisposition",
15252 "group": "Mail_Accounts",
15279 "field": "description",
15285 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15286 "version": "0.0.0",
15287 "filename": "server/api/mailAccount/index.js",
15288 "groupTitle": "Mail_Accounts"
15292 "url": "/api/mail/accounts/{id}/interactions",
15293 "title": "Creates new interactions",
15296 "title": "Example usage:",
15297 "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",
15301 "name": "addInteraction",
15302 "group": "Mail_Accounts",
15317 "field": "closedAt",
15324 "field": "disposition",
15331 "field": "secondDisposition",
15338 "field": "thirdDisposition",
15352 "field": "inReplyTo",
15373 "field": "subject",
15387 "field": "read1stAt",
15394 "field": "substatus",
15401 "field": "substatusAt",
15412 "field": "firstMsgDirection",
15419 "field": "lastMsgAt",
15430 "field": "lastMsgDirection",
15437 "field": "lastMsgBody",
15444 "field": "lastMsgText",
15450 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15451 "version": "0.0.0",
15452 "filename": "server/api/mailAccount/index.js",
15453 "groupTitle": "Mail_Accounts"
15457 "url": "/api/mail/accounts",
15458 "title": "Create a mail account",
15461 "title": "Example usage:",
15462 "content": "curl https://{domain}/api/mail/accounts \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15467 "group": "Mail_Accounts",
15468 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15469 "version": "0.0.0",
15470 "filename": "server/api/mailAccount/index.js",
15471 "groupTitle": "Mail_Accounts"
15475 "url": "/api/mail/accounts/{id}/canned_answers",
15476 "title": "Gets account canned answers",
15479 "title": "Example usage:",
15480 "content": "curl https://{domain}/api/mail/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
15484 "name": "getAnswers",
15485 "group": "Mail_Accounts",
15486 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15487 "version": "0.0.0",
15488 "filename": "server/api/mailAccount/index.js",
15489 "groupTitle": "Mail_Accounts"
15493 "url": "/api/mail/accounts/{id}/applications",
15494 "title": "Gets account applications",
15497 "title": "Example usage:",
15498 "content": "curl https://{domain}/api/mail/accounts/{id}/applications -v -u {name}:{password} -X GET",
15502 "name": "getApplications",
15503 "group": "Mail_Accounts",
15504 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15505 "version": "0.0.0",
15506 "filename": "server/api/mailAccount/index.js",
15507 "groupTitle": "Mail_Accounts"
15511 "url": "/api/mail/accounts/{id}/dispositions",
15512 "title": "Gets account dispositions",
15515 "title": "Example usage:",
15516 "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
15520 "name": "getDispositions",
15521 "group": "Mail_Accounts",
15522 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15523 "version": "0.0.0",
15524 "filename": "server/api/mailAccount/index.js",
15525 "groupTitle": "Mail_Accounts"
15529 "url": "/api/mail/accounts/{id}/interactions",
15530 "title": "Gets account interactions",
15533 "title": "Example usage:",
15534 "content": "curl https://{domain}/api/mail/accounts/{id}/interactions -v -u {name}:{password} -X GET",
15538 "name": "getInteraction",
15539 "group": "Mail_Accounts",
15540 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15541 "version": "0.0.0",
15542 "filename": "server/api/mailAccount/index.js",
15543 "groupTitle": "Mail_Accounts"
15547 "url": "/api/mail/accounts/{id}/messages",
15548 "title": "Gets account messages",
15551 "title": "Example usage:",
15552 "content": "curl https://{domain}/api/mail/accounts/{id}/messages -v -u {name}:{password} -X GET",
15556 "name": "getMessages",
15557 "group": "Mail_Accounts",
15558 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15559 "version": "0.0.0",
15560 "filename": "server/api/mailAccount/index.js",
15561 "groupTitle": "Mail_Accounts"
15565 "url": "/api/mail/accounts/{id}/send",
15566 "title": "Send new mail",
15569 "title": "Example usage:",
15570 "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",
15574 "name": "sendMail",
15575 "group": "Mail_Accounts",
15576 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15577 "version": "0.0.0",
15578 "filename": "server/api/mailAccount/index.js",
15579 "groupTitle": "Mail_Accounts"
15583 "url": "/api/mail/accounts/{id}",
15584 "title": "Update an existing Account",
15587 "title": "Example usage:",
15588 "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",
15592 "name": "updateAccounts",
15593 "group": "Mail_Accounts",
15594 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15595 "version": "0.0.0",
15596 "filename": "server/api/mailAccount/index.js",
15597 "groupTitle": "Mail_Accounts"
15601 "url": "/api/mail/accounts/{id}/verify",
15602 "title": "Verify mail account",
15605 "title": "Example usage:",
15606 "content": "curl https://{domain}/api/mail/accounts/{id}/verify -v -u {name}:{password} -X GET",
15610 "name": "verifySmtp",
15611 "group": "Mail_Accounts",
15612 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15613 "version": "0.0.0",
15614 "filename": "server/api/mailAccount/index.js",
15615 "groupTitle": "Mail_Accounts"
15619 "url": "/api/mail/applications/{id}",
15620 "title": "Deletes a Application",
15623 "title": "Example usage:",
15624 "content": "curl https://{domain}/api/mail/applications/{id} -v -u {name}:{password} -X DELETE",
15628 "name": "DeleteApplications",
15629 "group": "Mail_Applications",
15630 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15631 "version": "0.0.0",
15632 "filename": "server/api/mailApplication/index.js",
15633 "groupTitle": "Mail_Applications"
15637 "url": "/api/mail/applications/{id}",
15638 "title": "Gets a single Application",
15641 "title": "Example usage:",
15642 "content": "curl https://{domain}/api/mail/applications/{id} -v -u {name}:{password}",
15646 "name": "ShowApplications",
15647 "group": "Mail_Applications",
15648 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15649 "version": "0.0.0",
15650 "filename": "server/api/mailApplication/index.js",
15651 "groupTitle": "Mail_Applications"
15655 "url": "/api/mail/applications/{id}",
15656 "title": "Update an existing Application",
15659 "title": "Example usage:",
15660 "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",
15664 "name": "updateApplications",
15665 "group": "Mail_Applications",
15666 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15667 "version": "0.0.0",
15668 "filename": "server/api/mailApplication/index.js",
15669 "groupTitle": "Mail_Applications"
15673 "url": "/api/mail/interactions/{id}/tags",
15674 "title": "Add tags to the interaction",
15677 "title": "Example usage:",
15678 "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",
15683 "group": "Mail_Interactions",
15684 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15685 "version": "0.0.0",
15686 "filename": "server/api/mailInteraction/index.js",
15687 "groupTitle": "Mail_Interactions"
15691 "url": "/api/mail/interactions",
15692 "title": "Creates a new Interaction",
15695 "title": "Example usage:",
15696 "content": "curl https://{domain}/api/mail/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
15700 "name": "CreateInteractions",
15701 "group": "Mail_Interactions",
15716 "field": "closedAt",
15723 "field": "disposition",
15730 "field": "secondDisposition",
15737 "field": "thirdDisposition",
15751 "field": "inReplyTo",
15772 "field": "subject",
15786 "field": "read1stAt",
15793 "field": "substatus",
15800 "field": "substatusAt",
15811 "field": "firstMsgDirection",
15818 "field": "lastMsgAt",
15829 "field": "lastMsgDirection",
15836 "field": "lastMsgBody",
15843 "field": "lastMsgText",
15849 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15850 "version": "0.0.0",
15851 "filename": "server/api/mailInteraction/index.js",
15852 "groupTitle": "Mail_Interactions"
15856 "url": "/api/mail/interactions/{id}",
15857 "title": "Deletes a Interaction",
15860 "title": "Example usage:",
15861 "content": "curl https://{domain}/api/mail/interactions/{id} -v -u {name}:{password} -X DELETE",
15865 "name": "DeleteInteractions",
15866 "group": "Mail_Interactions",
15867 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15868 "version": "0.0.0",
15869 "filename": "server/api/mailInteraction/index.js",
15870 "groupTitle": "Mail_Interactions"
15874 "url": "/api/mail/interactions/describe",
15875 "title": "Gets table info about Interactions",
15878 "title": "Example usage:",
15879 "content": "curl https://{domain}/api/mail/interactions/describe -v -u {name}:{password}",
15883 "name": "DescribeInteractions",
15884 "group": "Mail_Interactions",
15885 "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>",
15886 "version": "0.0.0",
15887 "filename": "server/api/mailInteraction/index.js",
15888 "groupTitle": "Mail_Interactions"
15892 "url": "/api/mail/interactions",
15893 "title": "Gets a list of Interactions",
15896 "title": "Example usage:",
15897 "content": "curl https://{domain}/api/mail/interactions -v -u {name}:{password}",
15901 "name": "GetInteractions",
15902 "group": "Mail_Interactions",
15903 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
15904 "version": "0.0.0",
15905 "filename": "server/api/mailInteraction/index.js",
15906 "groupTitle": "Mail_Interactions"
15910 "url": "/api/mail/interactions/{id}/tags",
15911 "title": "Removes tags from interaction",
15914 "title": "Example usage:",
15915 "content": "curl https://{domain}/api/mail/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15919 "name": "RemoveTags",
15920 "group": "Mail_Interactions",
15921 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15922 "version": "0.0.0",
15923 "filename": "server/api/mailInteraction/index.js",
15924 "groupTitle": "Mail_Interactions"
15928 "url": "/api/mail/interactions/{id}",
15929 "title": "Gets a single Interaction",
15932 "title": "Example usage:",
15933 "content": "curl https://{domain}/api/mail/interactions/{id} -v -u {name}:{password}",
15937 "name": "ShowInteractions",
15938 "group": "Mail_Interactions",
15939 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15940 "version": "0.0.0",
15941 "filename": "server/api/mailInteraction/index.js",
15942 "groupTitle": "Mail_Interactions"
15946 "url": "/api/mail/interactions/{id}/messages",
15947 "title": "Creates new message",
15950 "title": "Example usage:",
15951 "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",
15955 "name": "addMessage",
15956 "group": "Mail_Interactions",
15971 "field": "plainBody",
15989 "field": "direction",
15996 "field": "messageId",
16031 "field": "subject",
16066 "field": "originTo",
16073 "field": "originCc",
16079 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16080 "version": "0.0.0",
16081 "filename": "server/api/mailInteraction/index.js",
16082 "groupTitle": "Mail_Interactions"
16086 "url": "/api/mail/interactions/{id}/download",
16087 "title": "Gets interaction",
16090 "title": "Example usage:",
16091 "content": "curl https://{domain}/api/mail/interactions/{id}/download -v -u {name}:{password} -X GET",
16095 "name": "download",
16096 "group": "Mail_Interactions",
16097 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16098 "version": "0.0.0",
16099 "filename": "server/api/mailInteraction/index.js",
16100 "groupTitle": "Mail_Interactions"
16104 "url": "/api/mail/interactions/{id}/messages",
16105 "title": "Gets interaction messages",
16108 "title": "Example usage:",
16109 "content": "curl https://{domain}/api/mail/interactions/{id}/messages -v -u {name}:{password} -X GET",
16113 "name": "getMessages",
16114 "group": "Mail_Interactions",
16115 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16116 "version": "0.0.0",
16117 "filename": "server/api/mailInteraction/index.js",
16118 "groupTitle": "Mail_Interactions"
16122 "url": "/api/mail/interactions/{id}",
16123 "title": "Update an existing Interaction",
16126 "title": "Example usage:",
16127 "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",
16131 "name": "updateInteractions",
16132 "group": "Mail_Interactions",
16133 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16134 "version": "0.0.0",
16135 "filename": "server/api/mailInteraction/index.js",
16136 "groupTitle": "Mail_Interactions"
16140 "url": "/api/mail/messages/{id}",
16141 "title": "Deletes a Message",
16144 "title": "Example usage:",
16145 "content": "curl https://{domain}/api/mail/messages/{id} -v -u {name}:{password} -X DELETE",
16149 "name": "DeleteMessages",
16150 "group": "Mail_Messages",
16151 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16152 "version": "0.0.0",
16153 "filename": "server/api/mailMessage/index.js",
16154 "groupTitle": "Mail_Messages"
16158 "url": "/api/mail/messages/describe",
16159 "title": "Gets table info about Messages",
16162 "title": "Example usage:",
16163 "content": "curl https://{domain}/api/mail/messages/describe -v -u {name}:{password}",
16167 "name": "DescribeMessages",
16168 "group": "Mail_Messages",
16169 "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>",
16170 "version": "0.0.0",
16171 "filename": "server/api/mailMessage/index.js",
16172 "groupTitle": "Mail_Messages"
16176 "url": "/api/mail/messages",
16177 "title": "Gets a list of Messages",
16180 "title": "Example usage:",
16181 "content": "curl https://{domain}/api/mail/messages -v -u {name}:{password}",
16185 "name": "GetMessages",
16186 "group": "Mail_Messages",
16187 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
16188 "version": "0.0.0",
16189 "filename": "server/api/mailMessage/index.js",
16190 "groupTitle": "Mail_Messages"
16194 "url": "/api/mail/messages/{id}",
16195 "title": "Gets a single Message",
16198 "title": "Example usage:",
16199 "content": "curl https://{domain}/api/mail/messages/{id} -v -u {name}:{password}",
16203 "name": "ShowMessages",
16204 "group": "Mail_Messages",
16205 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16206 "version": "0.0.0",
16207 "filename": "server/api/mailMessage/index.js",
16208 "groupTitle": "Mail_Messages"
16212 "url": "/api/mail/messages/{id}/accept",
16213 "title": "Accepts message",
16216 "title": "Example usage:",
16217 "content": "curl https://{domain}/api/mail/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
16221 "name": "acceptMessage",
16222 "group": "Mail_Messages",
16223 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16224 "version": "0.0.0",
16225 "filename": "server/api/mailMessage/index.js",
16226 "groupTitle": "Mail_Messages"
16230 "url": "/api/mail/messages",
16231 "title": "Create a message",
16234 "title": "Example usage:",
16235 "content": "curl https://{domain}/api/mail/messages \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16239 "name": "createMessage",
16240 "group": "Mail_Messages",
16241 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16242 "version": "0.0.0",
16243 "filename": "server/api/mailMessage/index.js",
16244 "groupTitle": "Mail_Messages"
16248 "url": "/api/mail/messages/{id}/download",
16249 "title": "Gets message",
16252 "title": "Example usage:",
16253 "content": "curl https://{domain}/api/mail/messages/{id}/download -v -u {name}:{password} -X GET",
16257 "name": "download",
16258 "group": "Mail_Messages",
16259 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16260 "version": "0.0.0",
16261 "filename": "server/api/mailMessage/index.js",
16262 "groupTitle": "Mail_Messages"
16266 "url": "/api/mail/messages/{id}/reject",
16267 "title": "Rejects message",
16270 "title": "Example usage:",
16271 "content": "curl https://{domain}/api/mail/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
16275 "name": "rejectMessage",
16276 "group": "Mail_Messages",
16277 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16278 "version": "0.0.0",
16279 "filename": "server/api/mailMessage/index.js",
16280 "groupTitle": "Mail_Messages"
16284 "url": "/api/mail/messages/{id}",
16285 "title": "Update an existing Message",
16288 "title": "Example usage:",
16289 "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",
16293 "name": "updateMessages",
16294 "group": "Mail_Messages",
16295 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16296 "version": "0.0.0",
16297 "filename": "server/api/mailMessage/index.js",
16298 "groupTitle": "Mail_Messages"
16302 "url": "/api/mail/reports/queue",
16303 "title": "Creates a new Mail Queue Report",
16306 "title": "Example usage:",
16307 "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",
16311 "name": "CreateMail_Queue_Reports",
16312 "group": "Mail_Queue_Reports",
16320 "field": "uniqueid",
16341 "field": "leaveAt",
16348 "field": "acceptAt",
16368 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16369 "version": "0.0.0",
16370 "filename": "server/api/mailQueueReport/index.js",
16371 "groupTitle": "Mail_Queue_Reports"
16375 "url": "/api/mail/reports/queue/{id}",
16376 "title": "Deletes a Mail Queue Report",
16379 "title": "Example usage:",
16380 "content": "curl https://{domain}/api/mail/reports/queue/{id} -v -u {name}:{password} -X DELETE",
16384 "name": "DeleteMail_Queue_Reports",
16385 "group": "Mail_Queue_Reports",
16386 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16387 "version": "0.0.0",
16388 "filename": "server/api/mailQueueReport/index.js",
16389 "groupTitle": "Mail_Queue_Reports"
16393 "url": "/api/mail/reports/queue/describe",
16394 "title": "Gets table info about Mail Queue Reports",
16397 "title": "Example usage:",
16398 "content": "curl https://{domain}/api/mail/reports/queue/describe -v -u {name}:{password}",
16402 "name": "DescribeMail_Queue_Reports",
16403 "group": "Mail_Queue_Reports",
16404 "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>",
16405 "version": "0.0.0",
16406 "filename": "server/api/mailQueueReport/index.js",
16407 "groupTitle": "Mail_Queue_Reports"
16411 "url": "/api/mail/reports/queue",
16412 "title": "Gets a list of Mail Queue Reports",
16415 "title": "Example usage:",
16416 "content": "curl https://{domain}/api/mail/reports/queue -v -u {name}:{password}",
16420 "name": "GetMail_Queue_Reports",
16421 "group": "Mail_Queue_Reports",
16422 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
16423 "version": "0.0.0",
16424 "filename": "server/api/mailQueueReport/index.js",
16425 "groupTitle": "Mail_Queue_Reports"
16429 "url": "/api/mail/reports/queue/{id}",
16430 "title": "Gets a single Mail Queue Report",
16433 "title": "Example usage:",
16434 "content": "curl https://{domain}/api/mail/reports/queue/{id} -v -u {name}:{password}",
16438 "name": "ShowMail_Queue_Reports",
16439 "group": "Mail_Queue_Reports",
16440 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16441 "version": "0.0.0",
16442 "filename": "server/api/mailQueueReport/index.js",
16443 "groupTitle": "Mail_Queue_Reports"
16447 "url": "/api/mail/reports/queue/{id}",
16448 "title": "Update an existing Mail Queue Report",
16451 "title": "Example usage:",
16452 "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",
16456 "name": "updateMail_Queue_Reports",
16457 "group": "Mail_Queue_Reports",
16458 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16459 "version": "0.0.0",
16460 "filename": "server/api/mailQueueReport/index.js",
16461 "groupTitle": "Mail_Queue_Reports"
16465 "url": "/api/mail/queues/{id}/users",
16466 "title": "Add agents to a queue",
16469 "title": "Example usage:",
16470 "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",
16474 "name": "AddAgents",
16475 "group": "Mail_Queues",
16476 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16477 "version": "0.0.0",
16478 "filename": "server/api/mailQueue/index.js",
16479 "groupTitle": "Mail_Queues"
16483 "url": "/api/mail/queues/{id}/teams",
16484 "title": "Add teams to a queue",
16487 "title": "Example usage:",
16488 "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",
16492 "name": "AddTeams",
16493 "group": "Mail_Queues",
16494 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16495 "version": "0.0.0",
16496 "filename": "server/api/mailQueue/index.js",
16497 "groupTitle": "Mail_Queues"
16501 "url": "/api/mail/queues",
16502 "title": "Creates a new Queue",
16505 "title": "Example usage:",
16506 "content": "curl https://{domain}/api/mail/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
16510 "name": "CreateQueues",
16511 "group": "Mail_Queues",
16526 "field": "description",
16533 "field": "timeout",
16545 "field": "strategy",
16551 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16552 "version": "0.0.0",
16553 "filename": "server/api/mailQueue/index.js",
16554 "groupTitle": "Mail_Queues"
16558 "url": "/api/mail/queues/{id}",
16559 "title": "Deletes a Queue",
16562 "title": "Example usage:",
16563 "content": "curl https://{domain}/api/mail/queues/{id} -v -u {name}:{password} -X DELETE",
16567 "name": "DeleteQueues",
16568 "group": "Mail_Queues",
16569 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16570 "version": "0.0.0",
16571 "filename": "server/api/mailQueue/index.js",
16572 "groupTitle": "Mail_Queues"
16576 "url": "/api/mail/queues/describe",
16577 "title": "Gets table info about Queues",
16580 "title": "Example usage:",
16581 "content": "curl https://{domain}/api/mail/queues/describe -v -u {name}:{password}",
16585 "name": "DescribeQueues",
16586 "group": "Mail_Queues",
16587 "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>",
16588 "version": "0.0.0",
16589 "filename": "server/api/mailQueue/index.js",
16590 "groupTitle": "Mail_Queues"
16594 "url": "/api/mail/queues/{id}/users",
16595 "title": "Gets queue agents",
16598 "title": "Example usage:",
16599 "content": "curl https://{domain}/api/mail/queues/{id}/users -v -u {name}:{password} -X POST",
16603 "name": "GetAgents",
16604 "group": "Mail_Queues",
16605 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16606 "version": "0.0.0",
16607 "filename": "server/api/mailQueue/index.js",
16608 "groupTitle": "Mail_Queues"
16612 "url": "/api/mail/queues/{id}/members",
16613 "title": "GetMembers",
16616 "title": "Example usage:",
16617 "content": "curl https://{domain}/api/mail/queues/{id}/members -v -u {name}:{password}",
16621 "name": "GetMembers",
16622 "group": "Mail_Queues",
16623 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16624 "version": "0.0.0",
16625 "filename": "server/api/mailQueue/index.js",
16626 "groupTitle": "Mail_Queues"
16630 "url": "/api/mail/queues",
16631 "title": "Gets a list of Queues",
16634 "title": "Example usage:",
16635 "content": "curl https://{domain}/api/mail/queues -v -u {name}:{password}",
16639 "name": "GetQueues",
16640 "group": "Mail_Queues",
16641 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
16642 "version": "0.0.0",
16643 "filename": "server/api/mailQueue/index.js",
16644 "groupTitle": "Mail_Queues"
16648 "url": "/api/mail/queues/{id}/teams",
16649 "title": "Gets queues list",
16652 "title": "Example usage:",
16653 "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password}",
16657 "name": "GetTeams",
16658 "group": "Mail_Queues",
16659 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16660 "version": "0.0.0",
16661 "filename": "server/api/mailQueue/index.js",
16662 "groupTitle": "Mail_Queues"
16666 "url": "/api/mail/queues/{id}/users",
16667 "title": "Removes agents from a queue",
16670 "title": "Example usage:",
16671 "content": "curl https://{domain}/api/mail/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
16675 "name": "RemoveAgents",
16676 "group": "Mail_Queues",
16677 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16678 "version": "0.0.0",
16679 "filename": "server/api/mailQueue/index.js",
16680 "groupTitle": "Mail_Queues"
16684 "url": "/api/mail/queues/{id}",
16685 "title": "Gets a single Queue",
16688 "title": "Example usage:",
16689 "content": "curl https://{domain}/api/mail/queues/{id} -v -u {name}:{password}",
16693 "name": "ShowQueues",
16694 "group": "Mail_Queues",
16695 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16696 "version": "0.0.0",
16697 "filename": "server/api/mailQueue/index.js",
16698 "groupTitle": "Mail_Queues"
16702 "url": "/api/mail/queues/{id}",
16703 "title": "Update an existing Queue",
16706 "title": "Example usage:",
16707 "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",
16711 "name": "updateQueues",
16712 "group": "Mail_Queues",
16713 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16714 "version": "0.0.0",
16715 "filename": "server/api/mailQueue/index.js",
16716 "groupTitle": "Mail_Queues"
16720 "url": "/api/mail/out_servers",
16721 "title": "Creates a new SMTP",
16724 "title": "Example usage:",
16725 "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",
16729 "name": "CreateSMTPs",
16730 "group": "Mail_SMTP",
16738 "field": "description",
16780 "field": "service",
16787 "field": "authentication",
16793 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16794 "version": "0.0.0",
16795 "filename": "server/api/mailServerOut/index.js",
16796 "groupTitle": "Mail_SMTP"
16800 "url": "/api/mail/out_servers/{id}",
16801 "title": "Deletes a SMTP",
16804 "title": "Example usage:",
16805 "content": "curl https://{domain}/api/mail/out_servers/{id} -v -u {name}:{password} -X DELETE",
16809 "name": "DeleteSMTPs",
16810 "group": "Mail_SMTP",
16811 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16812 "version": "0.0.0",
16813 "filename": "server/api/mailServerOut/index.js",
16814 "groupTitle": "Mail_SMTP"
16818 "url": "/api/mail/out_servers",
16819 "title": "Gets a list of SMTPs",
16822 "title": "Example usage:",
16823 "content": "curl https://{domain}/api/mail/out_servers -v -u {name}:{password}",
16827 "name": "GetSMTPs",
16828 "group": "Mail_SMTP",
16829 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
16830 "version": "0.0.0",
16831 "filename": "server/api/mailServerOut/index.js",
16832 "groupTitle": "Mail_SMTP"
16836 "url": "/api/mail/out_servers/{id}",
16837 "title": "Gets a single SMTP",
16840 "title": "Example usage:",
16841 "content": "curl https://{domain}/api/mail/out_servers/{id} -v -u {name}:{password}",
16845 "name": "ShowSMTPs",
16846 "group": "Mail_SMTP",
16847 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16848 "version": "0.0.0",
16849 "filename": "server/api/mailServerOut/index.js",
16850 "groupTitle": "Mail_SMTP"
16854 "url": "/api/mail/out_servers/{id}",
16855 "title": "Update an existing SMTP",
16858 "title": "Example usage:",
16859 "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",
16863 "name": "updateSMTPs",
16864 "group": "Mail_SMTP",
16865 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16866 "version": "0.0.0",
16867 "filename": "server/api/mailServerOut/index.js",
16868 "groupTitle": "Mail_SMTP"
16872 "url": "/api/mail/substatuses",
16873 "title": "Creates a new Queue",
16876 "title": "Example usage:",
16877 "content": "curl https://{domain}/api/mail/substatuses -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
16881 "name": "CreateSubstatuses",
16882 "group": "Mail_Substatuses",
16897 "field": "description",
16903 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16904 "version": "0.0.0",
16905 "filename": "server/api/mailSubstatus/index.js",
16906 "groupTitle": "Mail_Substatuses"
16910 "url": "/api/mail/substatuses/{id}",
16911 "title": "Deletes a Queue",
16914 "title": "Example usage:",
16915 "content": "curl https://{domain}/api/mail/substatuses/{id} -v -u {name}:{password} -X DELETE",
16919 "name": "DeleteSubstatuses",
16920 "group": "Mail_Substatuses",
16921 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16922 "version": "0.0.0",
16923 "filename": "server/api/mailSubstatus/index.js",
16924 "groupTitle": "Mail_Substatuses"
16928 "url": "/api/mail/substatuses/describe",
16929 "title": "Gets table info about Substatuses",
16932 "title": "Example usage:",
16933 "content": "curl https://{domain}/api/mail/substatuses/describe -v -u {name}:{password}",
16937 "name": "DescribeSubstatuses",
16938 "group": "Mail_Substatuses",
16939 "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>",
16940 "version": "0.0.0",
16941 "filename": "server/api/mailSubstatus/index.js",
16942 "groupTitle": "Mail_Substatuses"
16946 "url": "/api/mail/substatuses",
16947 "title": "Gets a list of Substatuses",
16950 "title": "Example usage:",
16951 "content": "curl https://{domain}/api/mail/substatuses -v -u {name}:{password}",
16955 "name": "GetSubstatuses",
16956 "group": "Mail_Substatuses",
16957 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
16958 "version": "0.0.0",
16959 "filename": "server/api/mailSubstatus/index.js",
16960 "groupTitle": "Mail_Substatuses"
16964 "url": "/api/mail/substatuses/{id}",
16965 "title": "Gets a single Queue",
16968 "title": "Example usage:",
16969 "content": "curl https://{domain}/api/mail/substatuses/{id} -v -u {name}:{password}",
16973 "name": "ShowSubstatuses",
16974 "group": "Mail_Substatuses",
16975 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16976 "version": "0.0.0",
16977 "filename": "server/api/mailSubstatus/index.js",
16978 "groupTitle": "Mail_Substatuses"
16982 "url": "/api/mail/substatuses/{id}",
16983 "title": "Update an existing Queue",
16986 "title": "Example usage:",
16987 "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",
16991 "name": "updateSubstatuses",
16992 "group": "Mail_Substatuses",
16993 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16994 "version": "0.0.0",
16995 "filename": "server/api/mailSubstatus/index.js",
16996 "groupTitle": "Mail_Substatuses"
17000 "url": "/api/mail/reports/transfer",
17001 "title": "Creates a new Mail Transfer Report",
17004 "title": "Example usage:",
17005 "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",
17009 "name": "CreateMail_Transfer_Reports",
17010 "group": "Mail_Transfer_Reports",
17018 "field": "uniqueid",
17037 "field": "transferredAt",
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/mailTransferReport/index.js",
17046 "groupTitle": "Mail_Transfer_Reports"
17050 "url": "/api/mail/reports/transfer/{id}",
17051 "title": "Deletes a Mail Transfer Report",
17054 "title": "Example usage:",
17055 "content": "curl https://{domain}/api/mail/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
17059 "name": "DeleteMail_Transfer_Reports",
17060 "group": "Mail_Transfer_Reports",
17061 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17062 "version": "0.0.0",
17063 "filename": "server/api/mailTransferReport/index.js",
17064 "groupTitle": "Mail_Transfer_Reports"
17068 "url": "/api/mail/reports/transfer/describe",
17069 "title": "Gets table info about Mail Transfer Reports",
17072 "title": "Example usage:",
17073 "content": "curl https://{domain}/api/mail/reports/transfer/describe -v -u {name}:{password}",
17077 "name": "DescribeMail_Transfer_Reports",
17078 "group": "Mail_Transfer_Reports",
17079 "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>",
17080 "version": "0.0.0",
17081 "filename": "server/api/mailTransferReport/index.js",
17082 "groupTitle": "Mail_Transfer_Reports"
17086 "url": "/api/mail/reports/transfer",
17087 "title": "Gets a list of Mail Transfer Reports",
17090 "title": "Example usage:",
17091 "content": "curl https://{domain}/api/mail/reports/transfer -v -u {name}:{password}",
17095 "name": "GetMail_Transfer_Reports",
17096 "group": "Mail_Transfer_Reports",
17097 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17098 "version": "0.0.0",
17099 "filename": "server/api/mailTransferReport/index.js",
17100 "groupTitle": "Mail_Transfer_Reports"
17104 "url": "/api/mail/reports/transfer/{id}",
17105 "title": "Gets a single Mail Transfer Report",
17108 "title": "Example usage:",
17109 "content": "curl https://{domain}/api/mail/reports/transfer/{id} -v -u {name}:{password}",
17113 "name": "ShowMail_Transfer_Reports",
17114 "group": "Mail_Transfer_Reports",
17115 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17116 "version": "0.0.0",
17117 "filename": "server/api/mailTransferReport/index.js",
17118 "groupTitle": "Mail_Transfer_Reports"
17122 "url": "/api/mail/reports/transfer/{id}",
17123 "title": "Update an existing Mail Transfer Report",
17126 "title": "Example usage:",
17127 "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",
17131 "name": "updateMail_Transfer_Reports",
17132 "group": "Mail_Transfer_Reports",
17133 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17134 "version": "0.0.0",
17135 "filename": "server/api/mailTransferReport/index.js",
17136 "groupTitle": "Mail_Transfer_Reports"
17140 "url": "/api/members/reports/describe",
17141 "title": "Gets table info about Member Reports",
17144 "title": "Example usage:",
17145 "content": "curl https://{domain}/api/members/reports/describe -v -u {name}:{password}",
17149 "name": "DescribeMember_Reports",
17150 "group": "Member_Reports",
17151 "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>",
17152 "version": "0.0.0",
17153 "filename": "server/api/memberReport/index.js",
17154 "groupTitle": "Member_Reports"
17158 "url": "/api/members/reports",
17159 "title": "Gets a list of Member Reports",
17162 "title": "Example usage:",
17163 "content": "curl https://{domain}/api/members/reports -v -u {name}:{password}",
17167 "name": "GetMember_Reports",
17168 "group": "Member_Reports",
17169 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17170 "version": "0.0.0",
17171 "filename": "server/api/memberReport/index.js",
17172 "groupTitle": "Member_Reports"
17176 "url": "/api/members/reports/{id}",
17177 "title": "Gets a single Member Report",
17180 "title": "Example usage:",
17181 "content": "curl https://{domain}/api/members/reports/{id} -v -u {name}:{password}",
17185 "name": "ShowMember_Reports",
17186 "group": "Member_Reports",
17187 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17188 "version": "0.0.0",
17189 "filename": "server/api/memberReport/index.js",
17190 "groupTitle": "Member_Reports"
17194 "url": "/api/migrations",
17195 "title": "Gets a list of Migrations",
17198 "title": "Example usage:",
17199 "content": "curl https://{domain}/api/migrations -v -u {name}:{password}",
17203 "name": "GetMigrations",
17204 "group": "Migrations",
17205 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17206 "version": "0.0.0",
17207 "filename": "server/api/migration/index.js",
17208 "groupTitle": "Migrations"
17212 "url": "/api/voice/networks",
17213 "title": "Create a new network",
17216 "title": "Example usage:",
17217 "content": "curl https://{domain}/api/voice/networks -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17222 "group": "Networks",
17223 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17224 "version": "0.0.0",
17225 "filename": "server/api/network/index.js",
17226 "groupTitle": "Networks"
17230 "url": "/api/voice/networks/{id}",
17231 "title": "Deletes a network",
17234 "title": "Example usage:",
17235 "content": "curl https://{domain}/api/voice/networks/{id} -v -u {name}:{password} -X DELETE",
17240 "group": "Networks",
17241 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17242 "version": "0.0.0",
17243 "filename": "server/api/network/index.js",
17244 "groupTitle": "Networks"
17248 "url": "/api/networks",
17249 "title": "Gets a list of Networks",
17252 "title": "Example usage:",
17253 "content": "curl https://{domain}/api/networks -v -u {name}:{password}",
17257 "name": "GetNetworks",
17258 "group": "Networks",
17259 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17260 "version": "0.0.0",
17261 "filename": "server/api/network/index.js",
17262 "groupTitle": "Networks"
17266 "url": "/api/networks/{id}",
17267 "title": "Gets a single Network",
17270 "title": "Example usage:",
17271 "content": "curl https://{domain}/api/networks/{id} -v -u {name}:{password}",
17275 "name": "ShowNetworks",
17276 "group": "Networks",
17277 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17278 "version": "0.0.0",
17279 "filename": "server/api/network/index.js",
17280 "groupTitle": "Networks"
17284 "url": "/api/voice/networks/{id}",
17285 "title": "Update an existing network",
17288 "title": "Example usage:",
17289 "content": "curl https://{domain}/api/voice/networks/{id} -v -u {name}:{password} -X PUT",
17294 "group": "Networks",
17295 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17296 "version": "0.0.0",
17297 "filename": "server/api/network/index.js",
17298 "groupTitle": "Networks"
17302 "url": "/api/notifications",
17303 "title": "Send notification to user",
17306 "title": "Example usage:",
17307 "content": "curl https://{domain}/api/notifications -d '{\"text\": \"Hello!\", \"TemplateId\": 1}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17312 "group": "Notifications",
17313 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17314 "version": "0.0.0",
17315 "filename": "server/api/notification/index.js",
17316 "groupTitle": "Notifications"
17320 "url": "/api/openchannel/accounts/{id}/users",
17321 "title": "Add agents to a openchannel account",
17324 "title": "Example usage:",
17325 "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",
17329 "name": "AddAgents",
17330 "group": "Openchannel_Accounts",
17331 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17332 "version": "0.0.0",
17333 "filename": "server/api/openchannelAccount/index.js",
17334 "groupTitle": "Openchannel_Accounts"
17338 "url": "/api/openchannel/accounts",
17339 "title": "Creates a new Account",
17342 "title": "Example usage:",
17343 "content": "curl https://{domain}/api/openchannel/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17347 "name": "CreateAccounts",
17348 "group": "Openchannel_Accounts",
17363 "field": "description",
17377 "field": "replyUri",
17391 "field": "notificationTemplate",
17398 "field": "notificationSound",
17405 "field": "notificationShake",
17412 "field": "waitForTheAssignedAgent",
17426 "field": "queueTransfer",
17433 "field": "queueTransferTimeout",
17440 "field": "agentTransfer",
17447 "field": "agentTransferTimeout",
17454 "field": "mandatoryDispositionPauseId",
17455 "description": "<p>Status to put when mandatory disposition is enabled</p>"
17461 "field": "mandatoryDisposition",
17462 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
17467 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17468 "version": "0.0.0",
17469 "filename": "server/api/openchannelAccount/index.js",
17470 "groupTitle": "Openchannel_Accounts"
17474 "url": "/api/openchannel/accounts/{id}",
17475 "title": "Deletes a Account",
17478 "title": "Example usage:",
17479 "content": "curl https://{domain}/api/openchannel/accounts/{id} -v -u {name}:{password} -X DELETE",
17483 "name": "DeleteAccounts",
17484 "group": "Openchannel_Accounts",
17485 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17486 "version": "0.0.0",
17487 "filename": "server/api/openchannelAccount/index.js",
17488 "groupTitle": "Openchannel_Accounts"
17492 "url": "/api/openchannel/accounts/describe",
17493 "title": "Gets table info about Accounts",
17496 "title": "Example usage:",
17497 "content": "curl https://{domain}/api/openchannel/accounts/describe -v -u {name}:{password}",
17501 "name": "DescribeAccounts",
17502 "group": "Openchannel_Accounts",
17503 "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>",
17504 "version": "0.0.0",
17505 "filename": "server/api/openchannelAccount/index.js",
17506 "groupTitle": "Openchannel_Accounts"
17510 "url": "/api/openchannel/accounts",
17511 "title": "Gets a list of Accounts",
17514 "title": "Example usage:",
17515 "content": "curl https://{domain}/api/openchannel/accounts -v -u {name}:{password}",
17519 "name": "GetAccounts",
17520 "group": "Openchannel_Accounts",
17521 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17522 "version": "0.0.0",
17523 "filename": "server/api/openchannelAccount/index.js",
17524 "groupTitle": "Openchannel_Accounts"
17528 "url": "/api/openchannel/accounts/{id}/users",
17529 "title": "Gets agents from openchannel account",
17532 "title": "Example usage:",
17533 "content": "curl https://{domain}/api/openchannel/accounts/{id}/users -v -u {name}:{password} -X GET",
17537 "name": "GetAgents",
17538 "group": "Openchannel_Accounts",
17539 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17540 "version": "0.0.0",
17541 "filename": "server/api/openchannelAccount/index.js",
17542 "groupTitle": "Openchannel_Accounts"
17546 "url": "/api/openchannel/accounts/{id}/users",
17547 "title": "Removes agents from a openchannel account",
17550 "title": "Example usage:",
17551 "content": "curl https://{domain}/api/openchannel/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
17555 "name": "RemoveAgents",
17556 "group": "Openchannel_Accounts",
17557 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17558 "version": "0.0.0",
17559 "filename": "server/api/openchannelAccount/index.js",
17560 "groupTitle": "Openchannel_Accounts"
17564 "url": "/api/openchannel/accounts/{id}/canned_answers",
17565 "title": "Removes canned answers from account",
17568 "title": "Example usage:",
17569 "content": "curl https://{domain}/api/openchannel/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
17573 "name": "RemoveAnswers",
17574 "group": "Openchannel_Accounts",
17575 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17576 "version": "0.0.0",
17577 "filename": "server/api/openchannelAccount/index.js",
17578 "groupTitle": "Openchannel_Accounts"
17582 "url": "/api/openchannel/accounts/{id}/dispositions",
17583 "title": "Removes dispositions from account",
17586 "title": "Example usage:",
17587 "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
17591 "name": "RemoveDispositions",
17592 "group": "Openchannel_Accounts",
17593 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17594 "version": "0.0.0",
17595 "filename": "server/api/openchannelAccount/index.js",
17596 "groupTitle": "Openchannel_Accounts"
17600 "url": "/api/openchannel/accounts/{id}",
17601 "title": "Gets a single Account",
17604 "title": "Example usage:",
17605 "content": "curl https://{domain}/api/openchannel/accounts/{id} -v -u {name}:{password}",
17609 "name": "ShowAccounts",
17610 "group": "Openchannel_Accounts",
17611 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17612 "version": "0.0.0",
17613 "filename": "server/api/openchannelAccount/index.js",
17614 "groupTitle": "Openchannel_Accounts"
17618 "url": "/api/openchannel/accounts/{id}/canned_answers",
17619 "title": "Creates new canned answer",
17622 "title": "Example usage:",
17623 "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",
17627 "name": "addAnswer",
17628 "group": "Openchannel_Accounts",
17650 "field": "description",
17663 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17664 "version": "0.0.0",
17665 "filename": "server/api/openchannelAccount/index.js",
17666 "groupTitle": "Openchannel_Accounts"
17670 "url": "/api/openchannel/accounts/{id}/applications",
17671 "title": "Creates new applications",
17674 "title": "Example usage:",
17675 "content": "curl https://{domain}/api/openchannel/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17679 "name": "addApplications",
17680 "group": "Openchannel_Accounts",
17688 "field": "priority",
17702 "field": "appdata",
17709 "field": "description",
17716 "field": "interval",
17722 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17723 "version": "0.0.0",
17724 "filename": "server/api/openchannelAccount/index.js",
17725 "groupTitle": "Openchannel_Accounts"
17729 "url": "/api/openchannel/accounts/{id}/dispositions",
17730 "title": "Creates new disposition",
17733 "title": "Example usage:",
17734 "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17738 "name": "addDisposition",
17739 "group": "Openchannel_Accounts",
17766 "field": "description",
17772 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17773 "version": "0.0.0",
17774 "filename": "server/api/openchannelAccount/index.js",
17775 "groupTitle": "Openchannel_Accounts"
17779 "url": "/api/openchannel/accounts/{id}/canned_answers",
17780 "title": "Gets account canned answers",
17783 "title": "Example usage:",
17784 "content": "curl https://{domain}/api/openchannel/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
17788 "name": "getAnswers",
17789 "group": "Openchannel_Accounts",
17790 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17791 "version": "0.0.0",
17792 "filename": "server/api/openchannelAccount/index.js",
17793 "groupTitle": "Openchannel_Accounts"
17797 "url": "/api/openchannel/accounts/{id}/applications",
17798 "title": "Gets account applications",
17801 "title": "Example usage:",
17802 "content": "curl https://{domain}/api/openchannel/accounts/{id}/applications -v -u {name}:{password} -X GET",
17806 "name": "getApplications",
17807 "group": "Openchannel_Accounts",
17808 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <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/openchannelAccount/index.js",
17811 "groupTitle": "Openchannel_Accounts"
17815 "url": "/api/openchannel/accounts/{id}/dispositions",
17816 "title": "Gets account dispositions",
17819 "title": "Example usage:",
17820 "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
17824 "name": "getDispositions",
17825 "group": "Openchannel_Accounts",
17826 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17827 "version": "0.0.0",
17828 "filename": "server/api/openchannelAccount/index.js",
17829 "groupTitle": "Openchannel_Accounts"
17833 "url": "/api/openchannel/accounts/{id}/interactions",
17834 "title": "Gets Openchannel Account Interactions",
17837 "title": "Example usage:",
17838 "content": "curl https://{domain}/api/openchannel/accounts/{id}/interactions -v -u {name}:{password} -X GET",
17842 "name": "getInteractions",
17843 "group": "Openchannel_Accounts",
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/openchannelAccount/index.js",
17847 "groupTitle": "Openchannel_Accounts"
17851 "url": "/api/openchannel/accounts/{id}/notify",
17852 "title": "Notify new message",
17855 "title": "Example usage:",
17856 "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",
17861 "group": "Openchannel_Accounts",
17862 "description": "<p>Motion 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>",
17863 "version": "0.0.0",
17864 "filename": "server/api/openchannelAccount/index.js",
17865 "groupTitle": "Openchannel_Accounts"
17869 "url": "/api/openchannel/accounts/{id}/send",
17870 "title": "Send new openchannel message",
17873 "title": "Example usage:",
17874 "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",
17878 "name": "sendOpenchannel",
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/{id}",
17888 "title": "Update an existing Account",
17891 "title": "Example usage:",
17892 "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",
17896 "name": "updateAccounts",
17897 "group": "Openchannel_Accounts",
17898 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17899 "version": "0.0.0",
17900 "filename": "server/api/openchannelAccount/index.js",
17901 "groupTitle": "Openchannel_Accounts"
17905 "url": "/api/openchannel/applications",
17906 "title": "Creates a new Application",
17909 "title": "Example usage:",
17910 "content": "curl https://{domain}/api/openchannel/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17914 "name": "CreateApplications",
17915 "group": "Openchannel_Applications",
17923 "field": "priority",
17937 "field": "appdata",
17944 "field": "description",
17951 "field": "interval",
17957 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17958 "version": "0.0.0",
17959 "filename": "server/api/openchannelApplication/index.js",
17960 "groupTitle": "Openchannel_Applications"
17964 "url": "/api/openchannel/applications/{id}",
17965 "title": "Deletes a Application",
17968 "title": "Example usage:",
17969 "content": "curl https://{domain}/api/openchannel/applications/{id} -v -u {name}:{password} -X DELETE",
17973 "name": "DeleteApplications",
17974 "group": "Openchannel_Applications",
17975 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17976 "version": "0.0.0",
17977 "filename": "server/api/openchannelApplication/index.js",
17978 "groupTitle": "Openchannel_Applications"
17982 "url": "/api/openchannel/applications",
17983 "title": "Gets a list of Applications",
17986 "title": "Example usage:",
17987 "content": "curl https://{domain}/api/openchannel/applications -v -u {name}:{password}",
17991 "name": "GetApplications",
17992 "group": "Openchannel_Applications",
17993 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
17994 "version": "0.0.0",
17995 "filename": "server/api/openchannelApplication/index.js",
17996 "groupTitle": "Openchannel_Applications"
18000 "url": "/api/openchannel/applications/{id}",
18001 "title": "Gets a single Application",
18004 "title": "Example usage:",
18005 "content": "curl https://{domain}/api/openchannel/applications/{id} -v -u {name}:{password}",
18009 "name": "ShowApplications",
18010 "group": "Openchannel_Applications",
18011 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18012 "version": "0.0.0",
18013 "filename": "server/api/openchannelApplication/index.js",
18014 "groupTitle": "Openchannel_Applications"
18018 "url": "/api/openchannel/applications/{id}",
18019 "title": "Update an existing Application",
18022 "title": "Example usage:",
18023 "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",
18027 "name": "updateApplications",
18028 "group": "Openchannel_Applications",
18029 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18030 "version": "0.0.0",
18031 "filename": "server/api/openchannelApplication/index.js",
18032 "groupTitle": "Openchannel_Applications"
18036 "url": "/api/openchannel/interactions/{id}/tags",
18037 "title": "Add tags to the interaction",
18040 "title": "Example usage:",
18041 "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",
18046 "group": "Openchannel_Interactions",
18047 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18048 "version": "0.0.0",
18049 "filename": "server/api/openchannelInteraction/index.js",
18050 "groupTitle": "Openchannel_Interactions"
18054 "url": "/api/openchannel/interactions",
18055 "title": "Creates a new Interaction",
18058 "title": "Example usage:",
18059 "content": "curl https://{domain}/api/openchannel/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18063 "name": "CreateInteractions",
18064 "group": "Openchannel_Interactions",
18079 "field": "closedAt",
18086 "field": "disposition",
18093 "field": "secondDisposition",
18100 "field": "thirdDisposition",
18114 "field": "read1stAt",
18121 "field": "threadId",
18128 "field": "externalUrl",
18135 "field": "lastMsgAt",
18146 "field": "lastMsgDirection",
18159 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18160 "version": "0.0.0",
18161 "filename": "server/api/openchannelInteraction/index.js",
18162 "groupTitle": "Openchannel_Interactions"
18166 "url": "/api/openchannel/interactions/{id}",
18167 "title": "Deletes a Interaction",
18170 "title": "Example usage:",
18171 "content": "curl https://{domain}/api/openchannel/interactions/{id} -v -u {name}:{password} -X DELETE",
18175 "name": "DeleteInteractions",
18176 "group": "Openchannel_Interactions",
18177 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18178 "version": "0.0.0",
18179 "filename": "server/api/openchannelInteraction/index.js",
18180 "groupTitle": "Openchannel_Interactions"
18184 "url": "/api/openchannel/interactions/describe",
18185 "title": "Gets table info about Interactions",
18188 "title": "Example usage:",
18189 "content": "curl https://{domain}/api/openchannel/interactions/describe -v -u {name}:{password}",
18193 "name": "DescribeInteractions",
18194 "group": "Openchannel_Interactions",
18195 "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>",
18196 "version": "0.0.0",
18197 "filename": "server/api/openchannelInteraction/index.js",
18198 "groupTitle": "Openchannel_Interactions"
18202 "url": "/api/openchannel/interactions",
18203 "title": "Gets a list of Interactions",
18206 "title": "Example usage:",
18207 "content": "curl https://{domain}/api/openchannel/interactions -v -u {name}:{password}",
18211 "name": "GetInteractions",
18212 "group": "Openchannel_Interactions",
18213 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
18214 "version": "0.0.0",
18215 "filename": "server/api/openchannelInteraction/index.js",
18216 "groupTitle": "Openchannel_Interactions"
18220 "url": "/api/openchannel/interactions/{id}/tags",
18221 "title": "Removes tags from interaction",
18224 "title": "Example usage:",
18225 "content": "curl https://{domain}/api/openchannel/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18229 "name": "RemoveTags",
18230 "group": "Openchannel_Interactions",
18231 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18232 "version": "0.0.0",
18233 "filename": "server/api/openchannelInteraction/index.js",
18234 "groupTitle": "Openchannel_Interactions"
18238 "url": "/api/openchannel/interactions/{id}",
18239 "title": "Gets a single Interaction",
18242 "title": "Example usage:",
18243 "content": "curl https://{domain}/api/openchannel/interactions/{id} -v -u {name}:{password}",
18247 "name": "ShowInteractions",
18248 "group": "Openchannel_Interactions",
18249 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18250 "version": "0.0.0",
18251 "filename": "server/api/openchannelInteraction/index.js",
18252 "groupTitle": "Openchannel_Interactions"
18256 "url": "/api/openchannel/interactions/{id}/messages",
18257 "title": "Creates new messages",
18260 "title": "Example usage:",
18261 "content": "curl https://{domain}/api/openchannel/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18265 "name": "addMessage",
18266 "group": "Openchannel_Interactions",
18299 "field": "direction",
18313 "field": "providerName",
18320 "field": "providerResponse",
18326 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18327 "version": "0.0.0",
18328 "filename": "server/api/openchannelInteraction/index.js",
18329 "groupTitle": "Openchannel_Interactions"
18333 "url": "/api/openchannel/interactions/{id}/download",
18334 "title": "Gets interaction",
18337 "title": "Example usage:",
18338 "content": "curl https://{domain}/api/openchannel/interactions/{id}/download -v -u {name}:{password} -X GET",
18342 "name": "download",
18343 "group": "Openchannel_Interactions",
18344 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18345 "version": "0.0.0",
18346 "filename": "server/api/openchannelInteraction/index.js",
18347 "groupTitle": "Openchannel_Interactions"
18351 "url": "/api/openchannel/interactions/{id}/messages",
18352 "title": "Gets interaction messages",
18355 "title": "Example usage:",
18356 "content": "curl https://{domain}/api/openchannel/interactions/{id}/messages -v -u {name}:{password} -X GET",
18360 "name": "getMessages",
18361 "group": "Openchannel_Interactions",
18362 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18363 "version": "0.0.0",
18364 "filename": "server/api/openchannelInteraction/index.js",
18365 "groupTitle": "Openchannel_Interactions"
18369 "url": "/api/openchannel/interactions/{id}",
18370 "title": "Update an existing Interaction",
18373 "title": "Example usage:",
18374 "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",
18378 "name": "updateInteractions",
18379 "group": "Openchannel_Interactions",
18380 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18381 "version": "0.0.0",
18382 "filename": "server/api/openchannelInteraction/index.js",
18383 "groupTitle": "Openchannel_Interactions"
18387 "url": "/api/openchannel/messages",
18388 "title": "Creates a new Message",
18391 "title": "Example usage:",
18392 "content": "curl https://{domain}/api/openchannel/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18396 "name": "CreateMessages",
18397 "group": "Openchannel_Messages",
18430 "field": "direction",
18444 "field": "providerName",
18451 "field": "providerResponse",
18457 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18458 "version": "0.0.0",
18459 "filename": "server/api/openchannelMessage/index.js",
18460 "groupTitle": "Openchannel_Messages"
18464 "url": "/api/openchannel/messages/{id}",
18465 "title": "Deletes a Message",
18468 "title": "Example usage:",
18469 "content": "curl https://{domain}/api/openchannel/messages/{id} -v -u {name}:{password} -X DELETE",
18473 "name": "DeleteMessages",
18474 "group": "Openchannel_Messages",
18475 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18476 "version": "0.0.0",
18477 "filename": "server/api/openchannelMessage/index.js",
18478 "groupTitle": "Openchannel_Messages"
18482 "url": "/api/openchannel/messages/describe",
18483 "title": "Gets table info about Messages",
18486 "title": "Example usage:",
18487 "content": "curl https://{domain}/api/openchannel/messages/describe -v -u {name}:{password}",
18491 "name": "DescribeMessages",
18492 "group": "Openchannel_Messages",
18493 "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>",
18494 "version": "0.0.0",
18495 "filename": "server/api/openchannelMessage/index.js",
18496 "groupTitle": "Openchannel_Messages"
18500 "url": "/api/openchannel/messages",
18501 "title": "Gets a list of Messages",
18504 "title": "Example usage:",
18505 "content": "curl https://{domain}/api/openchannel/messages -v -u {name}:{password}",
18509 "name": "GetMessages",
18510 "group": "Openchannel_Messages",
18511 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
18512 "version": "0.0.0",
18513 "filename": "server/api/openchannelMessage/index.js",
18514 "groupTitle": "Openchannel_Messages"
18518 "url": "/api/openchannel/messages/{id}",
18519 "title": "Gets a single Message",
18522 "title": "Example usage:",
18523 "content": "curl https://{domain}/api/openchannel/messages/{id} -v -u {name}:{password}",
18527 "name": "ShowMessages",
18528 "group": "Openchannel_Messages",
18529 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18530 "version": "0.0.0",
18531 "filename": "server/api/openchannelMessage/index.js",
18532 "groupTitle": "Openchannel_Messages"
18536 "url": "/api/openchannel/messages/{id}/accept",
18537 "title": "Accepts message",
18540 "title": "Example usage:",
18541 "content": "curl https://{domain}/api/openchannel/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
18545 "name": "acceptMessage",
18546 "group": "Openchannel_Messages",
18547 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18548 "version": "0.0.0",
18549 "filename": "server/api/openchannelMessage/index.js",
18550 "groupTitle": "Openchannel_Messages"
18554 "url": "/api/openchannel/messages/{id}/reject",
18555 "title": "Rejects message",
18558 "title": "Example usage:",
18559 "content": "curl https://{domain}/api/openchannel/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
18563 "name": "rejectMessage",
18564 "group": "Openchannel_Messages",
18565 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18566 "version": "0.0.0",
18567 "filename": "server/api/openchannelMessage/index.js",
18568 "groupTitle": "Openchannel_Messages"
18572 "url": "/api/openchannel/messages/{id}",
18573 "title": "Update an existing Message",
18576 "title": "Example usage:",
18577 "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",
18581 "name": "updateMessages",
18582 "group": "Openchannel_Messages",
18583 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18584 "version": "0.0.0",
18585 "filename": "server/api/openchannelMessage/index.js",
18586 "groupTitle": "Openchannel_Messages"
18590 "url": "/api/openchannel/reports/queue",
18591 "title": "Creates a new Openchannel Queue Report",
18594 "title": "Example usage:",
18595 "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",
18599 "name": "CreateOpenchannel_Queue_Reports",
18600 "group": "Openchannel_Queue_Reports",
18608 "field": "uniqueid",
18629 "field": "leaveAt",
18636 "field": "acceptAt",
18656 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18657 "version": "0.0.0",
18658 "filename": "server/api/openchannelQueueReport/index.js",
18659 "groupTitle": "Openchannel_Queue_Reports"
18663 "url": "/api/openchannel/reports/queue/{id}",
18664 "title": "Deletes a Openchannel Queue Report",
18667 "title": "Example usage:",
18668 "content": "curl https://{domain}/api/openchannel/reports/queue/{id} -v -u {name}:{password} -X DELETE",
18672 "name": "DeleteOpenchannel_Queue_Reports",
18673 "group": "Openchannel_Queue_Reports",
18674 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18675 "version": "0.0.0",
18676 "filename": "server/api/openchannelQueueReport/index.js",
18677 "groupTitle": "Openchannel_Queue_Reports"
18681 "url": "/api/openchannel/reports/queue/describe",
18682 "title": "Gets table info about Openchannel Queue Reports",
18685 "title": "Example usage:",
18686 "content": "curl https://{domain}/api/openchannel/reports/queue/describe -v -u {name}:{password}",
18690 "name": "DescribeOpenchannel_Queue_Reports",
18691 "group": "Openchannel_Queue_Reports",
18692 "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>",
18693 "version": "0.0.0",
18694 "filename": "server/api/openchannelQueueReport/index.js",
18695 "groupTitle": "Openchannel_Queue_Reports"
18699 "url": "/api/openchannel/reports/queue",
18700 "title": "Gets a list of Openchannel Queue Reports",
18703 "title": "Example usage:",
18704 "content": "curl https://{domain}/api/openchannel/reports/queue -v -u {name}:{password}",
18708 "name": "GetOpenchannel_Queue_Reports",
18709 "group": "Openchannel_Queue_Reports",
18710 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
18711 "version": "0.0.0",
18712 "filename": "server/api/openchannelQueueReport/index.js",
18713 "groupTitle": "Openchannel_Queue_Reports"
18717 "url": "/api/openchannel/reports/queue/{id}",
18718 "title": "Gets a single Openchannel Queue Report",
18721 "title": "Example usage:",
18722 "content": "curl https://{domain}/api/openchannel/reports/queue/{id} -v -u {name}:{password}",
18726 "name": "ShowOpenchannel_Queue_Reports",
18727 "group": "Openchannel_Queue_Reports",
18728 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18729 "version": "0.0.0",
18730 "filename": "server/api/openchannelQueueReport/index.js",
18731 "groupTitle": "Openchannel_Queue_Reports"
18735 "url": "/api/openchannel/reports/queue/{id}",
18736 "title": "Update an existing Openchannel Queue Report",
18739 "title": "Example usage:",
18740 "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",
18744 "name": "updateOpenchannel_Queue_Reports",
18745 "group": "Openchannel_Queue_Reports",
18746 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18747 "version": "0.0.0",
18748 "filename": "server/api/openchannelQueueReport/index.js",
18749 "groupTitle": "Openchannel_Queue_Reports"
18753 "url": "/api/openchannel/queues/{id}/users",
18754 "title": "Add agents to a queue",
18757 "title": "Example usage:",
18758 "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",
18762 "name": "AddAgents",
18763 "group": "Openchannel_Queues",
18764 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18765 "version": "0.0.0",
18766 "filename": "server/api/openchannelQueue/index.js",
18767 "groupTitle": "Openchannel_Queues"
18771 "url": "/api/openchannel/queues/{id}/teams",
18772 "title": "Add teams to a queue",
18775 "title": "Example usage:",
18776 "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",
18780 "name": "AddTeams",
18781 "group": "Openchannel_Queues",
18782 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18783 "version": "0.0.0",
18784 "filename": "server/api/openchannelQueue/index.js",
18785 "groupTitle": "Openchannel_Queues"
18789 "url": "/api/openchannel/queues",
18790 "title": "Creates a new Queue",
18793 "title": "Example usage:",
18794 "content": "curl https://{domain}/api/openchannel/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18798 "name": "CreateQueues",
18799 "group": "Openchannel_Queues",
18814 "field": "description",
18821 "field": "timeout",
18833 "field": "strategy",
18839 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18840 "version": "0.0.0",
18841 "filename": "server/api/openchannelQueue/index.js",
18842 "groupTitle": "Openchannel_Queues"
18846 "url": "/api/openchannel/queues/{id}",
18847 "title": "Deletes a Queue",
18850 "title": "Example usage:",
18851 "content": "curl https://{domain}/api/openchannel/queues/{id} -v -u {name}:{password} -X DELETE",
18855 "name": "DeleteQueues",
18856 "group": "Openchannel_Queues",
18857 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18858 "version": "0.0.0",
18859 "filename": "server/api/openchannelQueue/index.js",
18860 "groupTitle": "Openchannel_Queues"
18864 "url": "/api/openchannel/queues/describe",
18865 "title": "Gets table info about Queues",
18868 "title": "Example usage:",
18869 "content": "curl https://{domain}/api/openchannel/queues/describe -v -u {name}:{password}",
18873 "name": "DescribeQueues",
18874 "group": "Openchannel_Queues",
18875 "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>",
18876 "version": "0.0.0",
18877 "filename": "server/api/openchannelQueue/index.js",
18878 "groupTitle": "Openchannel_Queues"
18882 "url": "/api/openchannel/queues/{id}/users",
18883 "title": "Gets queue agents",
18886 "title": "Example usage:",
18887 "content": "curl https://{domain}/api/openchannel/queues/{id}/users -v -u {name}:{password} -X POST",
18891 "name": "GetAgents",
18892 "group": "Openchannel_Queues",
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/openchannelQueue/index.js",
18896 "groupTitle": "Openchannel_Queues"
18900 "url": "/api/openchannel/queues/{id}/members",
18901 "title": "GetMembers",
18904 "title": "Example usage:",
18905 "content": "curl https://{domain}/api/openchannel/queues/{id}/members -v -u {name}:{password}",
18909 "name": "GetMembers",
18910 "group": "Openchannel_Queues",
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/openchannelQueue/index.js",
18914 "groupTitle": "Openchannel_Queues"
18918 "url": "/api/openchannel/queues",
18919 "title": "Gets a list of Queues",
18922 "title": "Example usage:",
18923 "content": "curl https://{domain}/api/openchannel/queues -v -u {name}:{password}",
18927 "name": "GetQueues",
18928 "group": "Openchannel_Queues",
18929 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
18930 "version": "0.0.0",
18931 "filename": "server/api/openchannelQueue/index.js",
18932 "groupTitle": "Openchannel_Queues"
18936 "url": "/api/openchannel/queues/{id}/teams",
18937 "title": "Gets queues list",
18940 "title": "Example usage:",
18941 "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password}",
18945 "name": "GetTeams",
18946 "group": "Openchannel_Queues",
18947 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18948 "version": "0.0.0",
18949 "filename": "server/api/openchannelQueue/index.js",
18950 "groupTitle": "Openchannel_Queues"
18954 "url": "/api/openchannel/queues/{id}/users",
18955 "title": "Removes agents from a queue",
18958 "title": "Example usage:",
18959 "content": "curl https://{domain}/api/openchannel/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18963 "name": "RemoveAgents",
18964 "group": "Openchannel_Queues",
18965 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18966 "version": "0.0.0",
18967 "filename": "server/api/openchannelQueue/index.js",
18968 "groupTitle": "Openchannel_Queues"
18972 "url": "/api/openchannel/queues/{id}",
18973 "title": "Gets a single Queue",
18976 "title": "Example usage:",
18977 "content": "curl https://{domain}/api/openchannel/queues/{id} -v -u {name}:{password}",
18981 "name": "ShowQueues",
18982 "group": "Openchannel_Queues",
18983 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18984 "version": "0.0.0",
18985 "filename": "server/api/openchannelQueue/index.js",
18986 "groupTitle": "Openchannel_Queues"
18990 "url": "/api/openchannel/queues/{id}",
18991 "title": "Update an existing Queue",
18994 "title": "Example usage:",
18995 "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",
18999 "name": "updateQueues",
19000 "group": "Openchannel_Queues",
19001 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19002 "version": "0.0.0",
19003 "filename": "server/api/openchannelQueue/index.js",
19004 "groupTitle": "Openchannel_Queues"
19008 "url": "/api/openchannel/reports/transfer",
19009 "title": "Creates a new Openchannel Transfer Report",
19012 "title": "Example usage:",
19013 "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",
19017 "name": "CreateOpenchannel_Transfer_Reports",
19018 "group": "Openchannel_Transfer_Reports",
19026 "field": "uniqueid",
19045 "field": "transferredAt",
19051 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19052 "version": "0.0.0",
19053 "filename": "server/api/openchannelTransferReport/index.js",
19054 "groupTitle": "Openchannel_Transfer_Reports"
19058 "url": "/api/openchannel/reports/transfer/{id}",
19059 "title": "Deletes a Openchannel Transfer Report",
19062 "title": "Example usage:",
19063 "content": "curl https://{domain}/api/openchannel/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
19067 "name": "DeleteOpenchannel_Transfer_Reports",
19068 "group": "Openchannel_Transfer_Reports",
19069 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19070 "version": "0.0.0",
19071 "filename": "server/api/openchannelTransferReport/index.js",
19072 "groupTitle": "Openchannel_Transfer_Reports"
19076 "url": "/api/openchannel/reports/transfer/describe",
19077 "title": "Gets table info about Openchannel Transfer Reports",
19080 "title": "Example usage:",
19081 "content": "curl https://{domain}/api/openchannel/reports/transfer/describe -v -u {name}:{password}",
19085 "name": "DescribeOpenchannel_Transfer_Reports",
19086 "group": "Openchannel_Transfer_Reports",
19087 "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>",
19088 "version": "0.0.0",
19089 "filename": "server/api/openchannelTransferReport/index.js",
19090 "groupTitle": "Openchannel_Transfer_Reports"
19094 "url": "/api/openchannel/reports/transfer",
19095 "title": "Gets a list of Openchannel Transfer Reports",
19098 "title": "Example usage:",
19099 "content": "curl https://{domain}/api/openchannel/reports/transfer -v -u {name}:{password}",
19103 "name": "GetOpenchannel_Transfer_Reports",
19104 "group": "Openchannel_Transfer_Reports",
19105 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
19106 "version": "0.0.0",
19107 "filename": "server/api/openchannelTransferReport/index.js",
19108 "groupTitle": "Openchannel_Transfer_Reports"
19112 "url": "/api/openchannel/reports/transfer/{id}",
19113 "title": "Gets a single Openchannel Transfer Report",
19116 "title": "Example usage:",
19117 "content": "curl https://{domain}/api/openchannel/reports/transfer/{id} -v -u {name}:{password}",
19121 "name": "ShowOpenchannel_Transfer_Reports",
19122 "group": "Openchannel_Transfer_Reports",
19123 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19124 "version": "0.0.0",
19125 "filename": "server/api/openchannelTransferReport/index.js",
19126 "groupTitle": "Openchannel_Transfer_Reports"
19130 "url": "/api/openchannel/reports/transfer/{id}",
19131 "title": "Update an existing Openchannel Transfer Report",
19134 "title": "Example usage:",
19135 "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",
19139 "name": "updateOpenchannel_Transfer_Reports",
19140 "group": "Openchannel_Transfer_Reports",
19141 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19142 "version": "0.0.0",
19143 "filename": "server/api/openchannelTransferReport/index.js",
19144 "groupTitle": "Openchannel_Transfer_Reports"
19148 "url": "/api/pauses",
19149 "title": "Creates a new Pause",
19152 "title": "Example usage:",
19153 "content": "curl https://{domain}/api/pauses -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
19157 "name": "CreatePauses",
19173 "field": "description",
19179 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19180 "version": "0.0.0",
19181 "filename": "server/api/pause/index.js",
19182 "groupTitle": "Pauses"
19186 "url": "/api/pauses/{id}",
19187 "title": "Deletes a Pause",
19190 "title": "Example usage:",
19191 "content": "curl https://{domain}/api/pauses/{id} -v -u {name}:{password} -X DELETE",
19195 "name": "DeletePauses",
19197 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19198 "version": "0.0.0",
19199 "filename": "server/api/pause/index.js",
19200 "groupTitle": "Pauses"
19204 "url": "/api/pauses",
19205 "title": "Gets a list of Pauses",
19208 "title": "Example usage:",
19209 "content": "curl https://{domain}/api/pauses -v -u {name}:{password}",
19213 "name": "GetPauses",
19215 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
19216 "version": "0.0.0",
19217 "filename": "server/api/pause/index.js",
19218 "groupTitle": "Pauses"
19222 "url": "/api/pauses/{id}",
19223 "title": "Gets a single Pause",
19226 "title": "Example usage:",
19227 "content": "curl https://{domain}/api/pauses/{id} -v -u {name}:{password}",
19231 "name": "ShowPauses",
19233 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19234 "version": "0.0.0",
19235 "filename": "server/api/pause/index.js",
19236 "groupTitle": "Pauses"
19240 "url": "/api/pauses/{id}",
19241 "title": "Update an existing Pause",
19244 "title": "Example usage:",
19245 "content": "curl https://{domain}/api/pauses/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
19249 "name": "updatePauses",
19251 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19252 "version": "0.0.0",
19253 "filename": "server/api/pause/index.js",
19254 "groupTitle": "Pauses"
19258 "url": "/api/plugins",
19259 "title": "Gets a list of Plugins",
19262 "title": "Example usage:",
19263 "content": "curl https://{domain}/api/plugins -v -u {name}:{password}",
19267 "name": "GetPlugins",
19268 "group": "Plugins",
19269 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
19270 "version": "0.0.0",
19271 "filename": "server/api/plugin/index.js",
19272 "groupTitle": "Plugins"
19276 "url": "/api/plugins/{id}",
19277 "title": "Gets a single Plugin",
19280 "title": "Example usage:",
19281 "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password}",
19285 "name": "ShowPlugins",
19286 "group": "Plugins",
19287 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19288 "version": "0.0.0",
19289 "filename": "server/api/plugin/index.js",
19290 "groupTitle": "Plugins"
19294 "url": "/api/plugins/{id}",
19295 "title": "Delete a plugin",
19298 "title": "Example usage:",
19299 "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password} -X DELETE",
19303 "name": "destroyPlugin",
19304 "group": "Plugins",
19305 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19306 "version": "0.0.0",
19307 "filename": "server/api/plugin/index.js",
19308 "groupTitle": "Plugins"
19312 "url": "/api/plugins/{id}/download",
19313 "title": "Download plugin source code",
19316 "title": "Example usage:",
19317 "content": "curl https://{domain}/api/plugins/{id}/download -v -u {name}:{password} -X GET",
19321 "name": "download",
19322 "group": "Plugins",
19323 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19324 "version": "0.0.0",
19325 "filename": "server/api/plugin/index.js",
19326 "groupTitle": "Plugins"
19330 "url": "/api/plugins/{id}",
19331 "title": "Update an existing plugin",
19334 "title": "Example usage:",
19335 "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password} -X PUT",
19339 "name": "updatePlugin",
19340 "group": "Plugins",
19341 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19342 "version": "0.0.0",
19343 "filename": "server/api/plugin/index.js",
19344 "groupTitle": "Plugins"
19348 "url": "/api/plugins",
19349 "title": "Upload new plugin",
19352 "title": "Example usage:",
19353 "content": "curl https://{domain}/api/plugins -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
19357 "name": "uploadPlugin",
19358 "group": "Plugins",
19359 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19360 "version": "0.0.0",
19361 "filename": "server/api/plugin/index.js",
19362 "groupTitle": "Plugins"
19366 "url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
19367 "title": "Redirect a plugin request to the specified path",
19370 "title": "Example usage:",
19371 "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -v -u {name}:{password} -X GET",
19375 "name": "webhookPlugin",
19376 "group": "Plugins",
19377 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19378 "version": "0.0.0",
19379 "filename": "server/api/plugin/index.js",
19380 "groupTitle": "Plugins"
19384 "url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
19385 "title": "Redirect a plugin request to the specified path",
19388 "title": "Example usage:",
19389 "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -H 'Content-Type: application/json' -X POST",
19393 "name": "webhookPlugin",
19394 "group": "Plugins",
19395 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19396 "version": "0.0.0",
19397 "filename": "server/api/plugin/index.js",
19398 "groupTitle": "Plugins"
19402 "url": "/api/pm2/{id}",
19403 "title": "Deletes an existing process",
19406 "title": "Example usage:",
19407 "content": "curl https://{domain}/api/pm2/{id} -v -u {name}:{password} -X DELETE",
19411 "name": "DeletePm2Process",
19413 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19414 "version": "0.0.0",
19415 "filename": "server/api/pm2/index.js",
19416 "groupTitle": "Pm2"
19420 "url": "/api/pm2/{id}",
19421 "title": "Gets a single pm2 process",
19424 "title": "Example usage:",
19425 "content": "curl https://{domain}/api/pm2/{id} -v -u {name}:{password}",
19429 "name": "GetPm2Process",
19431 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19432 "version": "0.0.0",
19433 "filename": "server/api/pm2/index.js",
19434 "groupTitle": "Pm2"
19439 "title": "Gets pm2 processes",
19442 "title": "Example usage:",
19443 "content": "curl https://{domain}/api/pm2 -v -u {name}:{password}",
19447 "name": "GetPm2Processes",
19449 "description": "<p>Motion returns the pm2 processes list.</p>",
19450 "version": "0.0.0",
19451 "filename": "server/api/pm2/index.js",
19452 "groupTitle": "Pm2"
19457 "title": "Start a single pm2 process",
19460 "title": "Example usage:",
19461 "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",
19465 "name": "StartPm2Process",
19487 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19488 "version": "0.0.0",
19489 "filename": "server/api/pm2/index.js",
19490 "groupTitle": "Pm2"
19494 "url": "/api/pm2/{id}",
19495 "title": "Update an existing process",
19498 "title": "Example usage:",
19499 "content": "curl https://{domain}/api/pm2/{id} -d '{\"status\": \"online\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
19503 "name": "UpdatePm2Process",
19505 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19506 "version": "0.0.0",
19507 "filename": "server/api/pm2/index.js",
19508 "groupTitle": "Pm2"
19512 "url": "/api/rpc/campaigns/",
19513 "title": "Gets a list of campaigns",
19516 "title": "Example usage:",
19517 "content": "curl https://{domain}/api/rpc/campaigns -v -u {name}:{password}",
19521 "name": "Campaigns",
19522 "group": "RPC_Realtime",
19523 "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>",
19524 "version": "0.0.0",
19525 "filename": "server/api/rpc/index.js",
19526 "groupTitle": "RPC_Realtime"
19530 "url": "/api/rpc/fax/accounts",
19531 "title": "Gets a list of FaxAccounts",
19534 "title": "Example usage:",
19535 "content": "curl https://{domain}/api/rpc/fax/accounts -v -u {name}:{password}",
19539 "name": "FaxAccounts",
19540 "group": "RPC_Realtime",
19541 "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>",
19542 "version": "0.0.0",
19543 "filename": "server/api/rpc/index.js",
19544 "groupTitle": "RPC_Realtime"
19548 "url": "/api/rpc/agents/:id/capacity",
19549 "title": "Sets agent capacity",
19552 "title": "Example usage:",
19553 "content": "curl https://{domain}/api/rpc/agents/:id/capacity -v -u {name}:{password}",
19557 "name": "RTAgentCapacity",
19558 "group": "RPC_Realtime",
19559 "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>",
19560 "version": "0.0.0",
19561 "filename": "server/api/rpc/index.js",
19562 "groupTitle": "RPC_Realtime"
19566 "url": "/api/rpc/agents",
19567 "title": "Gets a list of RTAgents",
19570 "title": "Example usage:",
19571 "content": "curl https://{domain}/api/rpc/agents -v -u {name}:{password}",
19575 "name": "RTAgents",
19576 "group": "RPC_Realtime",
19577 "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>",
19578 "version": "0.0.0",
19579 "filename": "server/api/rpc/index.js",
19580 "groupTitle": "RPC_Realtime"
19584 "url": "/api/rpc/chat/queues",
19585 "title": "Gets a list of RTChatQueues",
19588 "title": "Example usage:",
19589 "content": "curl https://{domain}/api/rpc/chat/queues -v -u {name}:{password}",
19593 "name": "RTChatQueues",
19594 "group": "RPC_Realtime",
19595 "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>",
19596 "version": "0.0.0",
19597 "filename": "server/api/rpc/index.js",
19598 "groupTitle": "RPC_Realtime"
19602 "url": "/api/rpc/fax/queues",
19603 "title": "Gets a list of RTFaxQueues",
19606 "title": "Example usage:",
19607 "content": "curl https://{domain}/api/rpc/fax/queues -v -u {name}:{password}",
19611 "name": "RTFaxQueues",
19612 "group": "RPC_Realtime",
19613 "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>",
19614 "version": "0.0.0",
19615 "filename": "server/api/rpc/index.js",
19616 "groupTitle": "RPC_Realtime"
19620 "url": "/api/rpc/mail/accounts",
19621 "title": "Gets a list of RTMailAccounts",
19624 "title": "Example usage:",
19625 "content": "curl https://{domain}/api/rpc/mail/accounts -v -u {name}:{password}",
19629 "name": "RTMailAccounts",
19630 "group": "RPC_Realtime",
19631 "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>",
19632 "version": "0.0.0",
19633 "filename": "server/api/rpc/index.js",
19634 "groupTitle": "RPC_Realtime"
19638 "url": "/api/rpc/mail/queues",
19639 "title": "Gets a list of RTMailQueues",
19642 "title": "Example usage:",
19643 "content": "curl https://{domain}/api/rpc/mail/queues -v -u {name}:{password}",
19647 "name": "RTMailQueues",
19648 "group": "RPC_Realtime",
19649 "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>",
19650 "version": "0.0.0",
19651 "filename": "server/api/rpc/index.js",
19652 "groupTitle": "RPC_Realtime"
19656 "url": "/api/rpc/openchannel/queues",
19657 "title": "Gets a list of RTOpenchannelQueues",
19660 "title": "Example usage:",
19661 "content": "curl https://{domain}/api/rpc/openchannel/queues -v -u {name}:{password}",
19665 "name": "RTOpenchannelQueues",
19666 "group": "RPC_Realtime",
19667 "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>",
19668 "version": "0.0.0",
19669 "filename": "server/api/rpc/index.js",
19670 "groupTitle": "RPC_Realtime"
19674 "url": "/api/rpc/outbound/channels",
19675 "title": "Gets a list of RTOutboundChannels",
19678 "title": "Example usage:",
19679 "content": "curl https://{domain}/api/rpc/outbound/channels -v -u {name}:{password}",
19683 "name": "RTOutboundChannels",
19684 "group": "RPC_Realtime",
19685 "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>",
19686 "version": "0.0.0",
19687 "filename": "server/api/rpc/index.js",
19688 "groupTitle": "RPC_Realtime"
19692 "url": "/api/rpc/sms/queues",
19693 "title": "Gets a list of RTSmsQueues",
19696 "title": "Example usage:",
19697 "content": "curl https://{domain}/api/rpc/sms/queues -v -u {name}:{password}",
19701 "name": "RTSmsQueues",
19702 "group": "RPC_Realtime",
19703 "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>",
19704 "version": "0.0.0",
19705 "filename": "server/api/rpc/index.js",
19706 "groupTitle": "RPC_Realtime"
19710 "url": "/api/rpc/telephones",
19711 "title": "Gets a list of RTTelephones",
19714 "title": "Example usage:",
19715 "content": "curl https://{domain}/api/rpc/telephones -v -u {name}:{password}",
19719 "name": "RTTelephones",
19720 "group": "RPC_Realtime",
19721 "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>",
19722 "version": "0.0.0",
19723 "filename": "server/api/rpc/index.js",
19724 "groupTitle": "RPC_Realtime"
19728 "url": "/api/rpc/trunks",
19729 "title": "Gets a list of RTTrunks",
19732 "title": "Example usage:",
19733 "content": "curl https://{domain}/api/rpc/trunks -v -u {name}:{password}",
19737 "name": "RTTrunks",
19738 "group": "RPC_Realtime",
19739 "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>",
19740 "version": "0.0.0",
19741 "filename": "server/api/rpc/index.js",
19742 "groupTitle": "RPC_Realtime"
19746 "url": "/api/rpc/voice/channels",
19747 "title": "Gets a list of RTVoiceChannelMixMonitor",
19750 "title": "Example usage:",
19751 "content": "curl https://{domain}/api/rpc/voice/channels/{uniqueid}/mixmonitor -v -u {name}:{password}",
19755 "name": "RTVoiceChannelMixMonitor",
19756 "group": "RPC_Realtime",
19757 "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>",
19758 "version": "0.0.0",
19759 "filename": "server/api/rpc/index.js",
19760 "groupTitle": "RPC_Realtime"
19764 "url": "/api/rpc/voice/channels",
19765 "title": "Gets a list of RTVoiceChannelStopMixMonitor",
19768 "title": "Example usage:",
19769 "content": "curl https://{domain}/api/rpc/voice/channels/{uniqueid}/stopmixmonitor -v -u {name}:{password}",
19773 "name": "RTVoiceChannelStopMixMonitor",
19774 "group": "RPC_Realtime",
19775 "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>",
19776 "version": "0.0.0",
19777 "filename": "server/api/rpc/index.js",
19778 "groupTitle": "RPC_Realtime"
19782 "url": "/api/rpc/voice/channels",
19783 "title": "Gets a list of RTVoiceChannels",
19786 "title": "Example usage:",
19787 "content": "curl https://{domain}/api/rpc/voice/channels -v -u {name}:{password}",
19791 "name": "RTVoiceChannels",
19792 "group": "RPC_Realtime",
19793 "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>",
19794 "version": "0.0.0",
19795 "filename": "server/api/rpc/index.js",
19796 "groupTitle": "RPC_Realtime"
19800 "url": "/api/rpc/voice/queues/channels/{uniqueid}",
19801 "title": "Gets a single RTVoiceQueueChannel",
19804 "title": "Example usage:",
19805 "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid} -v -u {name}:{password}",
19809 "name": "RTVoiceQueueChannel",
19810 "group": "RPC_Realtime",
19811 "description": "<p>Motion will return a specific realtime voice queue channel.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19812 "version": "0.0.0",
19813 "filename": "server/api/rpc/index.js",
19814 "groupTitle": "RPC_Realtime"
19818 "url": "/api/rpc/voice/queues/channels/{uniqueid}/hangup",
19819 "title": "Hangup a single RTVoiceQueueChannel",
19822 "title": "Example usage:",
19823 "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid}/hangup -v -u {name}:{password}",
19827 "name": "RTVoiceQueueChannelHangup",
19828 "group": "RPC_Realtime",
19829 "description": "<p>Motion will hangup a specific realtime voice queue channel.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19830 "version": "0.0.0",
19831 "filename": "server/api/rpc/index.js",
19832 "groupTitle": "RPC_Realtime"
19836 "url": "/api/rpc/voice/queues/channels/{uniqueid}/redirect/{exten}",
19837 "title": "Hangup a single RTVoiceQueueChannel",
19840 "title": "Example usage:",
19841 "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid}/redirect/{exten} -v -u {name}:{password}",
19845 "name": "RTVoiceQueueChannelRedirect",
19846 "group": "RPC_Realtime",
19847 "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>",
19848 "version": "0.0.0",
19849 "filename": "server/api/rpc/index.js",
19850 "groupTitle": "RPC_Realtime"
19854 "url": "/api/rpc/voice/queues/preview/{id}",
19855 "title": "Gets a single preview contact",
19858 "title": "Example usage:",
19859 "content": "curl https://{domain}/api/rpc/voice/queues/preview/{id} -v -u {name}:{password}",
19863 "name": "RTVoiceQueuePreview",
19864 "group": "RPC_Realtime",
19865 "description": "<p>Motion will return a specific preview contact.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19866 "version": "0.0.0",
19867 "filename": "server/api/rpc/index.js",
19868 "groupTitle": "RPC_Realtime"
19872 "url": "/api/rpc/outbound",
19873 "title": "Gets a list of RTOutbound",
19876 "title": "Example usage:",
19877 "content": "curl https://{domain}/api/rpc/outbound -v -u {name}:{password}",
19881 "name": "RTVoiceQueues",
19882 "group": "RPC_Realtime",
19883 "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>",
19884 "version": "0.0.0",
19885 "filename": "server/api/rpc/index.js",
19886 "groupTitle": "RPC_Realtime"
19890 "url": "/api/rpc/voice/queues",
19891 "title": "Gets a list of RTVoiceQueues",
19894 "title": "Example usage:",
19895 "content": "curl https://{domain}/api/rpc/voice/queues -v -u {name}:{password}",
19899 "name": "RTVoiceQueues",
19900 "group": "RPC_Realtime",
19901 "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>",
19902 "version": "0.0.0",
19903 "filename": "server/api/rpc/index.js",
19904 "groupTitle": "RPC_Realtime"
19908 "url": "/api/rpc/voice/queues/channels",
19909 "title": "Gets a list of RTVoiceQueuesChannels",
19912 "title": "Example usage:",
19913 "content": "curl https://{domain}/api/rpc/voice/queues/channels -v -u {name}:{password}",
19917 "name": "RTVoiceQueuesChannels",
19918 "group": "RPC_Realtime",
19919 "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>",
19920 "version": "0.0.0",
19921 "filename": "server/api/rpc/index.js",
19922 "groupTitle": "RPC_Realtime"
19926 "url": "/api/rpc/chat/queues/{id}",
19927 "title": "Gets a single RTChatQueue",
19930 "title": "Example usage:",
19931 "content": "curl https://{domain}/api/rpc/chat/queues/{id} -v -u {name}:{password}",
19935 "name": "ShowRTChatQueues",
19936 "group": "RPC_Realtime",
19937 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19938 "version": "0.0.0",
19939 "filename": "server/api/rpc/index.js",
19940 "groupTitle": "RPC_Realtime"
19944 "url": "/api/rpc/fax/queues/{id}",
19945 "title": "Gets a single RTFaxQueue",
19948 "title": "Example usage:",
19949 "content": "curl https://{domain}/api/rpc/fax/queues/{id} -v -u {name}:{password}",
19953 "name": "ShowRTFaxQueues",
19954 "group": "RPC_Realtime",
19955 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19956 "version": "0.0.0",
19957 "filename": "server/api/rpc/index.js",
19958 "groupTitle": "RPC_Realtime"
19962 "url": "/api/rpc/mail/queues/{id}",
19963 "title": "Gets a single RTMailQueue",
19966 "title": "Example usage:",
19967 "content": "curl https://{domain}/api/rpc/mail/queues/{id} -v -u {name}:{password}",
19971 "name": "ShowRTMailQueues",
19972 "group": "RPC_Realtime",
19973 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19974 "version": "0.0.0",
19975 "filename": "server/api/rpc/index.js",
19976 "groupTitle": "RPC_Realtime"
19980 "url": "/api/rpc/openchannel/queues/{id}",
19981 "title": "Gets a single RTOpenchannelQueue",
19984 "title": "Example usage:",
19985 "content": "curl https://{domain}/api/rpc/openchannel/queues/{id} -v -u {name}:{password}",
19989 "name": "ShowRTOpenchannelQueues",
19990 "group": "RPC_Realtime",
19991 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19992 "version": "0.0.0",
19993 "filename": "server/api/rpc/index.js",
19994 "groupTitle": "RPC_Realtime"
19998 "url": "/api/rpc/sms/queues/{id}",
19999 "title": "Gets a single RTSmsQueue",
20002 "title": "Example usage:",
20003 "content": "curl https://{domain}/api/rpc/sms/queues/{id} -v -u {name}:{password}",
20007 "name": "ShowRTSmsQueues",
20008 "group": "RPC_Realtime",
20009 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20010 "version": "0.0.0",
20011 "filename": "server/api/rpc/index.js",
20012 "groupTitle": "RPC_Realtime"
20016 "url": "/api/rpc/voice/queues/{id}",
20017 "title": "Gets a single RTVoiceQueue",
20020 "title": "Example usage:",
20021 "content": "curl https://{domain}/api/rpc/voice/queues/{id} -v -u {name}:{password}",
20025 "name": "ShowRTVoiceQueues",
20026 "group": "RPC_Realtime",
20027 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20028 "version": "0.0.0",
20029 "filename": "server/api/rpc/index.js",
20030 "groupTitle": "RPC_Realtime"
20034 "url": "/api/rpc/agents/:id/notify",
20035 "title": "Notify message to a specific agent",
20038 "title": "Example usage:",
20039 "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",
20043 "name": "agentNotify",
20044 "group": "RPC_Realtime",
20045 "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>",
20046 "version": "0.0.0",
20047 "filename": "server/api/rpc/index.js",
20048 "groupTitle": "RPC_Realtime"
20052 "url": "/api/rpc/chat/queues/:id/notify",
20053 "title": "Notify message to a specific queue",
20056 "title": "Example usage:",
20057 "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",
20061 "name": "chatQueueNotify",
20062 "group": "RPC_Realtime",
20063 "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>",
20064 "version": "0.0.0",
20065 "filename": "server/api/rpc/index.js",
20066 "groupTitle": "RPC_Realtime"
20070 "url": "/api/rpc/chat/queues/waitinginteractions",
20071 "title": "Gets a list of chatQueuesWaitingInteractions",
20074 "title": "Example usage:",
20075 "content": "curl https://{domain}/api/rpc/chat/queues/waitinginteractions -v -u {name}:{password}",
20079 "name": "chatQueuesWaitingInteractions",
20080 "group": "RPC_Realtime",
20081 "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>",
20082 "version": "0.0.0",
20083 "filename": "server/api/rpc/index.js",
20084 "groupTitle": "RPC_Realtime"
20088 "url": "/api/rpc/fax/queues/:id/notify",
20089 "title": "Notify message to a specific queue",
20092 "title": "Example usage:",
20093 "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",
20097 "name": "faxQueueNotify",
20098 "group": "RPC_Realtime",
20099 "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>",
20100 "version": "0.0.0",
20101 "filename": "server/api/rpc/index.js",
20102 "groupTitle": "RPC_Realtime"
20106 "url": "/api/rpc/fax/queues/waitinginteractions",
20107 "title": "Gets a list of faxQueuesWaitingInteractions",
20110 "title": "Example usage:",
20111 "content": "curl https://{domain}/api/rpc/fax/queues/waitinginteractions -v -u {name}:{password}",
20115 "name": "faxQueuesWaitingInteractions",
20116 "group": "RPC_Realtime",
20117 "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>",
20118 "version": "0.0.0",
20119 "filename": "server/api/rpc/index.js",
20120 "groupTitle": "RPC_Realtime"
20124 "url": "/api/rpc/mail/queues/:id/notify",
20125 "title": "Notify message to a specific queue",
20128 "title": "Example usage:",
20129 "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",
20133 "name": "mailQueueNotify",
20134 "group": "RPC_Realtime",
20135 "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>",
20136 "version": "0.0.0",
20137 "filename": "server/api/rpc/index.js",
20138 "groupTitle": "RPC_Realtime"
20142 "url": "/api/rpc/mail/queues/waitinginteractions",
20143 "title": "Gets a list of mailQueuesWaitingInteractions",
20146 "title": "Example usage:",
20147 "content": "curl https://{domain}/api/rpc/mail/queues/waitinginteractions -v -u {name}:{password}",
20151 "name": "mailQueuesWaitingInteractions",
20152 "group": "RPC_Realtime",
20153 "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>",
20154 "version": "0.0.0",
20155 "filename": "server/api/rpc/index.js",
20156 "groupTitle": "RPC_Realtime"
20160 "url": "/api/rpc/openchannel/queues/:id/notify",
20161 "title": "Notify message to a specific queue",
20164 "title": "Example usage:",
20165 "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",
20169 "name": "openchannelQueueNotify",
20170 "group": "RPC_Realtime",
20171 "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>",
20172 "version": "0.0.0",
20173 "filename": "server/api/rpc/index.js",
20174 "groupTitle": "RPC_Realtime"
20178 "url": "/api/rpc/openchannel/queues/:id/waitinginteractions",
20179 "title": "Gets a list of openchannelQueuesIdWaitingInteractions",
20182 "title": "Example usage:",
20183 "content": "curl https://{domain}/api/rpc/openchannel/queues/:id/waitinginteractions -v -u {name}:{password}",
20187 "name": "openchannelQueuesIdWaitingInteractions",
20188 "group": "RPC_Realtime",
20189 "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>",
20190 "version": "0.0.0",
20191 "filename": "server/api/rpc/index.js",
20192 "groupTitle": "RPC_Realtime"
20196 "url": "/api/rpc/openchannel/queues/waitinginteractions",
20197 "title": "Gets a list of openchannelQueuesWaitingInteractions",
20200 "title": "Example usage:",
20201 "content": "curl https://{domain}/api/rpc/openchannel/queues/waitinginteractions -v -u {name}:{password}",
20205 "name": "openchannelQueuesWaitingInteractions",
20206 "group": "RPC_Realtime",
20207 "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>",
20208 "version": "0.0.0",
20209 "filename": "server/api/rpc/index.js",
20210 "groupTitle": "RPC_Realtime"
20214 "url": "/api/rpc/sms/queues/:id/notify",
20215 "title": "Notify message to a specific queue",
20218 "title": "Example usage:",
20219 "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",
20223 "name": "smsQueueNotify",
20224 "group": "RPC_Realtime",
20225 "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>",
20226 "version": "0.0.0",
20227 "filename": "server/api/rpc/index.js",
20228 "groupTitle": "RPC_Realtime"
20232 "url": "/api/rpc/sms/queues/waitinginteractions",
20233 "title": "Gets a list of smsQueuesWaitingInteractions",
20236 "title": "Example usage:",
20237 "content": "curl https://{domain}/api/rpc/sms/queues/waitinginteractions -v -u {name}:{password}",
20241 "name": "smsQueuesWaitingInteractions",
20242 "group": "RPC_Realtime",
20243 "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>",
20244 "version": "0.0.0",
20245 "filename": "server/api/rpc/index.js",
20246 "groupTitle": "RPC_Realtime"
20250 "url": "/api/integrations/salesforce/accounts",
20251 "title": "Creates a new Salesforce Account",
20254 "title": "Example usage:",
20255 "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",
20259 "name": "CreateSalesforce_Accounts",
20260 "group": "Salesforce_Accounts",
20275 "field": "description",
20282 "field": "username",
20289 "field": "remoteUri",
20296 "field": "password",
20303 "field": "clientId",
20310 "field": "clientSecret",
20317 "field": "securityToken",
20324 "field": "serverUrl",
20331 "\"integrationTab\"",
20341 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20342 "version": "0.0.0",
20343 "filename": "server/api/intSalesforceAccount/index.js",
20344 "groupTitle": "Salesforce_Accounts"
20348 "url": "/api/integrations/salesforce/accounts/{id}",
20349 "title": "Deletes a Salesforce Account",
20352 "title": "Example usage:",
20353 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id} -v -u {name}:{password} -X DELETE",
20357 "name": "DeleteSalesforce_Accounts",
20358 "group": "Salesforce_Accounts",
20359 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20360 "version": "0.0.0",
20361 "filename": "server/api/intSalesforceAccount/index.js",
20362 "groupTitle": "Salesforce_Accounts"
20366 "url": "/api/integrations/salesforce/accounts",
20367 "title": "Gets a list of Salesforce Accounts",
20370 "title": "Example usage:",
20371 "content": "curl https://{domain}/api/integrations/salesforce/accounts -v -u {name}:{password}",
20375 "name": "GetSalesforce_Accounts",
20376 "group": "Salesforce_Accounts",
20377 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
20378 "version": "0.0.0",
20379 "filename": "server/api/intSalesforceAccount/index.js",
20380 "groupTitle": "Salesforce_Accounts"
20384 "url": "/api/integrations/salesforce/accounts/{id}",
20385 "title": "Gets a single Salesforce Account",
20388 "title": "Example usage:",
20389 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id} -v -u {name}:{password}",
20393 "name": "ShowSalesforce_Accounts",
20394 "group": "Salesforce_Accounts",
20395 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20396 "version": "0.0.0",
20397 "filename": "server/api/intSalesforceAccount/index.js",
20398 "groupTitle": "Salesforce_Accounts"
20402 "url": "/api/integrations/salesforce/accounts/{id}/configurations",
20403 "title": "Creates new configuration",
20406 "title": "Example usage:",
20407 "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",
20411 "name": "addConfiguration",
20412 "group": "Salesforce_Accounts",
20413 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20414 "version": "0.0.0",
20415 "filename": "server/api/intSalesforceAccount/index.js",
20416 "groupTitle": "Salesforce_Accounts"
20420 "url": "/api/integrations/salesforce/accounts/{id}/configurations",
20421 "title": "Gets account configurations",
20424 "title": "Example usage:",
20425 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id}/configurations -v -u {name}:{password} -X GET",
20429 "name": "getConfigurations",
20430 "group": "Salesforce_Accounts",
20431 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20432 "version": "0.0.0",
20433 "filename": "server/api/intSalesforceAccount/index.js",
20434 "groupTitle": "Salesforce_Accounts"
20438 "url": "/api/integrations/salesforce/accounts/{id}/fields",
20439 "title": "Gets account fields",
20442 "title": "Example usage:",
20443 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id}/fields -v -u {name}:{password} -X GET",
20447 "name": "getFields",
20448 "group": "Salesforce_Accounts",
20449 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20450 "version": "0.0.0",
20451 "filename": "server/api/intSalesforceAccount/index.js",
20452 "groupTitle": "Salesforce_Accounts"
20456 "url": "/api/integrations/salesforce/accounts/{id}",
20457 "title": "Update an existing Salesforce Account",
20460 "title": "Example usage:",
20461 "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",
20465 "name": "updateSalesforce_Accounts",
20466 "group": "Salesforce_Accounts",
20467 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20468 "version": "0.0.0",
20469 "filename": "server/api/intSalesforceAccount/index.js",
20470 "groupTitle": "Salesforce_Accounts"
20474 "url": "/api/integrations/salesforce/configurations",
20475 "title": "Creates a new Salesforce Configuration",
20478 "title": "Example usage:",
20479 "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",
20483 "name": "CreateSalesforce_Configurations",
20484 "group": "Salesforce_Configurations",
20499 "field": "description",
20510 "field": "ticketType",
20517 "\"contact_lead\"",
20522 "field": "moduleSearch",
20534 "field": "moduleCreate",
20540 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20541 "version": "0.0.0",
20542 "filename": "server/api/intSalesforceConfiguration/index.js",
20543 "groupTitle": "Salesforce_Configurations"
20547 "url": "/api/integrations/salesforce/configurations/{id}",
20548 "title": "Deletes a Salesforce Configuration",
20551 "title": "Example usage:",
20552 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id} -v -u {name}:{password} -X DELETE",
20556 "name": "DeleteSalesforce_Configurations",
20557 "group": "Salesforce_Configurations",
20558 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <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/intSalesforceConfiguration/index.js",
20561 "groupTitle": "Salesforce_Configurations"
20565 "url": "/api/integrations/salesforce/configurations",
20566 "title": "Gets a list of Salesforce Configurations",
20569 "title": "Example usage:",
20570 "content": "curl https://{domain}/api/integrations/salesforce/configurations -v -u {name}:{password}",
20574 "name": "GetSalesforce_Configurations",
20575 "group": "Salesforce_Configurations",
20576 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
20577 "version": "0.0.0",
20578 "filename": "server/api/intSalesforceConfiguration/index.js",
20579 "groupTitle": "Salesforce_Configurations"
20583 "url": "/api/integrations/salesforce/configurations/{id}",
20584 "title": "Gets a single Salesforce Configuration",
20587 "title": "Example usage:",
20588 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id} -v -u {name}:{password}",
20592 "name": "ShowSalesforce_Configurations",
20593 "group": "Salesforce_Configurations",
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/intSalesforceConfiguration/index.js",
20597 "groupTitle": "Salesforce_Configurations"
20601 "url": "/api/integrations/salesforce/configurations/{id}/descriptions",
20602 "title": "Gets configurations descriptions",
20605 "title": "Example usage:",
20606 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
20610 "name": "getDescriptions",
20611 "group": "Salesforce_Configurations",
20612 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20613 "version": "0.0.0",
20614 "filename": "server/api/intSalesforceConfiguration/index.js",
20615 "groupTitle": "Salesforce_Configurations"
20619 "url": "/api/integrations/salesforce/configurations/{id}/fields",
20620 "title": "Gets configurations fields",
20623 "title": "Example usage:",
20624 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/fields -v -u {name}:{password} -X GET",
20628 "name": "getFields",
20629 "group": "Salesforce_Configurations",
20630 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20631 "version": "0.0.0",
20632 "filename": "server/api/intSalesforceConfiguration/index.js",
20633 "groupTitle": "Salesforce_Configurations"
20637 "url": "/api/integrations/salesforce/configurations/{id}/subjects",
20638 "title": "Gets configurations subjects",
20641 "title": "Example usage:",
20642 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/subjects -v -u {name}:{password} -X GET",
20646 "name": "getSubjects",
20647 "group": "Salesforce_Configurations",
20648 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20649 "version": "0.0.0",
20650 "filename": "server/api/intSalesforceConfiguration/index.js",
20651 "groupTitle": "Salesforce_Configurations"
20655 "url": "/api/integrations/salesforce/configurations/{id}",
20656 "title": "Update an existing Salesforce Configuration",
20659 "title": "Example usage:",
20660 "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",
20664 "name": "updateSalesforce_Configurations",
20665 "group": "Salesforce_Configurations",
20666 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20667 "version": "0.0.0",
20668 "filename": "server/api/intSalesforceConfiguration/index.js",
20669 "groupTitle": "Salesforce_Configurations"
20673 "url": "/api/integrations/salesforce/fields",
20674 "title": "Creates a new Salesforce Field",
20677 "title": "Example usage:",
20678 "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",
20682 "name": "CreateSalesforce_Fields",
20683 "group": "Salesforce_Fields",
20693 "\"customVariable\"",
20704 "field": "content",
20720 "\"customVariable\""
20723 "field": "keyType",
20730 "field": "keyContent",
20737 "field": "idField",
20744 "field": "variableName",
20750 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20751 "version": "0.0.0",
20752 "filename": "server/api/intSalesforceField/index.js",
20753 "groupTitle": "Salesforce_Fields"
20757 "url": "/api/integrations/salesforce/fields/{id}",
20758 "title": "Deletes a Salesforce Field",
20761 "title": "Example usage:",
20762 "content": "curl https://{domain}/api/integrations/salesforce/fields/{id} -v -u {name}:{password} -X DELETE",
20766 "name": "DeleteSalesforce_Fields",
20767 "group": "Salesforce_Fields",
20768 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20769 "version": "0.0.0",
20770 "filename": "server/api/intSalesforceField/index.js",
20771 "groupTitle": "Salesforce_Fields"
20775 "url": "/api/integrations/salesforce/fields",
20776 "title": "Gets a list of Salesforce Fields",
20779 "title": "Example usage:",
20780 "content": "curl https://{domain}/api/integrations/salesforce/fields -v -u {name}:{password}",
20784 "name": "GetSalesforce_Fields",
20785 "group": "Salesforce_Fields",
20786 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
20787 "version": "0.0.0",
20788 "filename": "server/api/intSalesforceField/index.js",
20789 "groupTitle": "Salesforce_Fields"
20793 "url": "/api/integrations/salesforce/fields/{id}",
20794 "title": "Gets a single Salesforce Field",
20797 "title": "Example usage:",
20798 "content": "curl https://{domain}/api/integrations/salesforce/fields/{id} -v -u {name}:{password}",
20802 "name": "ShowSalesforce_Fields",
20803 "group": "Salesforce_Fields",
20804 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20805 "version": "0.0.0",
20806 "filename": "server/api/intSalesforceField/index.js",
20807 "groupTitle": "Salesforce_Fields"
20811 "url": "/api/integrations/salesforce/fields/{id}",
20812 "title": "Update an existing Salesforce Field",
20815 "title": "Example usage:",
20816 "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",
20820 "name": "updateSalesforce_Fields",
20821 "group": "Salesforce_Fields",
20822 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20823 "version": "0.0.0",
20824 "filename": "server/api/intSalesforceField/index.js",
20825 "groupTitle": "Salesforce_Fields"
20829 "url": "/api/schedules",
20830 "title": "Creates a new Schedule",
20833 "title": "Example usage:",
20834 "content": "curl https://{domain}/api/schedules -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
20838 "name": "CreateSchedules",
20839 "group": "Schedules",
20854 "field": "description",
20875 "field": "startAt",
20889 "field": "subtractNumber",
20905 "field": "subtractUnit",
20935 "field": "sendMail",
20963 "field": "sendIfEmpty",
20969 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20970 "version": "0.0.0",
20971 "filename": "server/api/schedule/index.js",
20972 "groupTitle": "Schedules"
20976 "url": "/api/schedules/{id}",
20977 "title": "Deletes a Schedule",
20980 "title": "Example usage:",
20981 "content": "curl https://{domain}/api/schedules/{id} -v -u {name}:{password} -X DELETE",
20985 "name": "DeleteSchedules",
20986 "group": "Schedules",
20987 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20988 "version": "0.0.0",
20989 "filename": "server/api/schedule/index.js",
20990 "groupTitle": "Schedules"
20994 "url": "/api/schedules",
20995 "title": "Gets a list of Schedules",
20998 "title": "Example usage:",
20999 "content": "curl https://{domain}/api/schedules -v -u {name}:{password}",
21003 "name": "GetSchedules",
21004 "group": "Schedules",
21005 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21006 "version": "0.0.0",
21007 "filename": "server/api/schedule/index.js",
21008 "groupTitle": "Schedules"
21012 "url": "/api/schedules/{id}",
21013 "title": "Gets a single Schedule",
21016 "title": "Example usage:",
21017 "content": "curl https://{domain}/api/schedules/{id} -v -u {name}:{password}",
21021 "name": "ShowSchedules",
21022 "group": "Schedules",
21023 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21024 "version": "0.0.0",
21025 "filename": "server/api/schedule/index.js",
21026 "groupTitle": "Schedules"
21030 "url": "/api/schedules/{id}/run",
21031 "title": "Run Scheduler",
21034 "title": "Example usage:",
21035 "content": "curl https://{domain}/api/schedules/{id}/run -v -u {name}:{password} -X GET",
21040 "group": "Schedules",
21041 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21042 "version": "0.0.0",
21043 "filename": "server/api/schedule/index.js",
21044 "groupTitle": "Schedules"
21048 "url": "/api/schedules/{id}",
21049 "title": "Update an existing Schedule",
21052 "title": "Example usage:",
21053 "content": "curl https://{domain}/api/schedules/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
21057 "name": "updateSchedules",
21058 "group": "Schedules",
21059 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21060 "version": "0.0.0",
21061 "filename": "server/api/schedule/index.js",
21062 "groupTitle": "Schedules"
21066 "url": "/api/screen/recordings",
21067 "title": "Creates a new Recording",
21070 "title": "Example usage:",
21071 "content": "curl https://{domain}/api/screen/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21075 "name": "CreateRecordings",
21076 "group": "Screen_Recordings",
21091 "field": "interactionid",
21098 "field": "channel",
21119 "field": "duration",
21126 "field": "startedAt",
21133 "field": "closedAt",
21140 "field": "createdAt",
21147 "field": "updatedAt",
21153 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21154 "version": "0.0.0",
21155 "filename": "server/api/screenRecording/index.js",
21156 "groupTitle": "Screen_Recordings"
21160 "url": "/api/screen/recordings/describe",
21161 "title": "Gets table info about Recordings",
21164 "title": "Example usage:",
21165 "content": "curl https://{domain}/api/screen/recordings/describe -v -u {name}:{password}",
21169 "name": "DescribeRecordings",
21170 "group": "Screen_Recordings",
21171 "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>",
21172 "version": "0.0.0",
21173 "filename": "server/api/screenRecording/index.js",
21174 "groupTitle": "Screen_Recordings"
21178 "url": "/api/screen/recordings",
21179 "title": "Gets a list of Recordings",
21182 "title": "Example usage:",
21183 "content": "curl https://{domain}/api/screen/recordings -v -u {name}:{password}",
21187 "name": "GetRecordings",
21188 "group": "Screen_Recordings",
21189 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21190 "version": "0.0.0",
21191 "filename": "server/api/screenRecording/index.js",
21192 "groupTitle": "Screen_Recordings"
21196 "url": "/api/screen/recordings/{id}",
21197 "title": "Gets a single Recording",
21200 "title": "Example usage:",
21201 "content": "curl https://{domain}/api/screen/recordings/{id} -v -u {name}:{password}",
21205 "name": "ShowRecordings",
21206 "group": "Screen_Recordings",
21207 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21208 "version": "0.0.0",
21209 "filename": "server/api/screenRecording/index.js",
21210 "groupTitle": "Screen_Recordings"
21214 "url": "/api/screen/recordings/{id}",
21215 "title": "Delete screen recording",
21218 "title": "Example usage:",
21219 "content": "curl https://{domain}/api/screen/recordings/{id} -v -u {name}:{password} -X DELETE",
21224 "group": "Screen_Recordings",
21225 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21226 "version": "0.0.0",
21227 "filename": "server/api/screenRecording/index.js",
21228 "groupTitle": "Screen_Recordings"
21232 "url": "/api/screen/recordings/{id}/download",
21233 "title": "Download Recording",
21236 "title": "Example usage:",
21237 "content": "curl https://{domain}/api/screen/recordings/{id}/download -v -u {name}:{password} -X GET",
21241 "name": "download",
21242 "group": "Screen_Recordings",
21243 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21244 "version": "0.0.0",
21245 "filename": "server/api/screenRecording/index.js",
21246 "groupTitle": "Screen_Recordings"
21250 "url": "/api/screen/recordings/{id}",
21251 "title": "Update an existing Recording",
21254 "title": "Example usage:",
21255 "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",
21259 "name": "updateRecordings",
21260 "group": "Screen_Recordings",
21261 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21262 "version": "0.0.0",
21263 "filename": "server/api/screenRecording/index.js",
21264 "groupTitle": "Screen_Recordings"
21268 "url": "/api/integrations/servicenow/accounts",
21269 "title": "Creates a new Servicenow Account",
21272 "title": "Example usage:",
21273 "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",
21277 "name": "CreateServicenow_Accounts",
21278 "group": "Servicenow_Accounts",
21293 "field": "description",
21300 "field": "username",
21307 "field": "password",
21321 "field": "remoteUri",
21328 "field": "serverUrl",
21334 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21335 "version": "0.0.0",
21336 "filename": "server/api/intServicenowAccount/index.js",
21337 "groupTitle": "Servicenow_Accounts"
21341 "url": "/api/integrations/servicenow/accounts/{id}",
21342 "title": "Deletes a Servicenow Account",
21345 "title": "Example usage:",
21346 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id} -v -u {name}:{password} -X DELETE",
21350 "name": "DeleteServicenow_Accounts",
21351 "group": "Servicenow_Accounts",
21352 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21353 "version": "0.0.0",
21354 "filename": "server/api/intServicenowAccount/index.js",
21355 "groupTitle": "Servicenow_Accounts"
21359 "url": "/api/integrations/servicenow/accounts",
21360 "title": "Gets a list of Servicenow Accounts",
21363 "title": "Example usage:",
21364 "content": "curl https://{domain}/api/integrations/servicenow/accounts -v -u {name}:{password}",
21368 "name": "GetServicenow_Accounts",
21369 "group": "Servicenow_Accounts",
21370 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21371 "version": "0.0.0",
21372 "filename": "server/api/intServicenowAccount/index.js",
21373 "groupTitle": "Servicenow_Accounts"
21377 "url": "/api/integrations/servicenow/accounts/{id}",
21378 "title": "Gets a single Servicenow Account",
21381 "title": "Example usage:",
21382 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id} -v -u {name}:{password}",
21386 "name": "ShowServicenow_Accounts",
21387 "group": "Servicenow_Accounts",
21388 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21389 "version": "0.0.0",
21390 "filename": "server/api/intServicenowAccount/index.js",
21391 "groupTitle": "Servicenow_Accounts"
21395 "url": "/api/integrations/servicenow/accounts/{id}/configurations",
21396 "title": "Creates new configuration",
21399 "title": "Example usage:",
21400 "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",
21404 "name": "addConfiguration",
21405 "group": "Servicenow_Accounts",
21406 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21407 "version": "0.0.0",
21408 "filename": "server/api/intServicenowAccount/index.js",
21409 "groupTitle": "Servicenow_Accounts"
21413 "url": "/api/integrations/servicenow/accounts/{id}/configurations",
21414 "title": "Gets account configurations",
21417 "title": "Example usage:",
21418 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id}/configurations -v -u {name}:{password} -X GET",
21422 "name": "getConfigurations",
21423 "group": "Servicenow_Accounts",
21424 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21425 "version": "0.0.0",
21426 "filename": "server/api/intServicenowAccount/index.js",
21427 "groupTitle": "Servicenow_Accounts"
21431 "url": "/api/integrations/servicenow/accounts/{id}/fields",
21432 "title": "Gets account fields",
21435 "title": "Example usage:",
21436 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id}/fields -v -u {name}:{password} -X GET",
21440 "name": "getFields",
21441 "group": "Servicenow_Accounts",
21442 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21443 "version": "0.0.0",
21444 "filename": "server/api/intServicenowAccount/index.js",
21445 "groupTitle": "Servicenow_Accounts"
21449 "url": "/api/integrations/servicenow/accounts/{id}",
21450 "title": "Update an existing Servicenow Account",
21453 "title": "Example usage:",
21454 "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",
21458 "name": "updateServicenow_Accounts",
21459 "group": "Servicenow_Accounts",
21460 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21461 "version": "0.0.0",
21462 "filename": "server/api/intServicenowAccount/index.js",
21463 "groupTitle": "Servicenow_Accounts"
21467 "url": "/api/integrations/servicenow/configurations",
21468 "title": "Creates a new Servicenow Configuration",
21471 "title": "Example usage:",
21472 "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",
21476 "name": "CreateServicenow_Configurations",
21477 "group": "Servicenow_Configurations",
21492 "field": "description",
21498 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21499 "version": "0.0.0",
21500 "filename": "server/api/intServicenowConfiguration/index.js",
21501 "groupTitle": "Servicenow_Configurations"
21505 "url": "/api/integrations/servicenow/configurations/{id}",
21506 "title": "Deletes a Servicenow Configuration",
21509 "title": "Example usage:",
21510 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id} -v -u {name}:{password} -X DELETE",
21514 "name": "DeleteServicenow_Configurations",
21515 "group": "Servicenow_Configurations",
21516 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21517 "version": "0.0.0",
21518 "filename": "server/api/intServicenowConfiguration/index.js",
21519 "groupTitle": "Servicenow_Configurations"
21523 "url": "/api/integrations/servicenow/configurations",
21524 "title": "Gets a list of Servicenow Configurations",
21527 "title": "Example usage:",
21528 "content": "curl https://{domain}/api/integrations/servicenow/configurations -v -u {name}:{password}",
21532 "name": "GetServicenow_Configurations",
21533 "group": "Servicenow_Configurations",
21534 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21535 "version": "0.0.0",
21536 "filename": "server/api/intServicenowConfiguration/index.js",
21537 "groupTitle": "Servicenow_Configurations"
21541 "url": "/api/integrations/servicenow/configurations/{id}",
21542 "title": "Gets a single Servicenow Configuration",
21545 "title": "Example usage:",
21546 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id} -v -u {name}:{password}",
21550 "name": "ShowServicenow_Configurations",
21551 "group": "Servicenow_Configurations",
21552 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21553 "version": "0.0.0",
21554 "filename": "server/api/intServicenowConfiguration/index.js",
21555 "groupTitle": "Servicenow_Configurations"
21559 "url": "/api/integrations/servicenow/configurations/{id}/descriptions",
21560 "title": "Gets configurations descriptions",
21563 "title": "Example usage:",
21564 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
21568 "name": "getDescriptions",
21569 "group": "Servicenow_Configurations",
21570 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21571 "version": "0.0.0",
21572 "filename": "server/api/intServicenowConfiguration/index.js",
21573 "groupTitle": "Servicenow_Configurations"
21577 "url": "/api/integrations/servicenow/configurations/{id}/fields",
21578 "title": "Gets configurations fields",
21581 "title": "Example usage:",
21582 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/fields -v -u {name}:{password} -X GET",
21586 "name": "getFields",
21587 "group": "Servicenow_Configurations",
21588 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21589 "version": "0.0.0",
21590 "filename": "server/api/intServicenowConfiguration/index.js",
21591 "groupTitle": "Servicenow_Configurations"
21595 "url": "/api/integrations/servicenow/configurations/{id}/subjects",
21596 "title": "Gets configurations subjects",
21599 "title": "Example usage:",
21600 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/subjects -v -u {name}:{password} -X GET",
21604 "name": "getSubjects",
21605 "group": "Servicenow_Configurations",
21606 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21607 "version": "0.0.0",
21608 "filename": "server/api/intServicenowConfiguration/index.js",
21609 "groupTitle": "Servicenow_Configurations"
21613 "url": "/api/integrations/servicenow/configurations/{id}",
21614 "title": "Update an existing Servicenow Configuration",
21617 "title": "Example usage:",
21618 "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",
21622 "name": "updateServicenow_Configurations",
21623 "group": "Servicenow_Configurations",
21624 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21625 "version": "0.0.0",
21626 "filename": "server/api/intServicenowConfiguration/index.js",
21627 "groupTitle": "Servicenow_Configurations"
21631 "url": "/api/integrations/servicenow/fields",
21632 "title": "Creates a new Servicenow Field",
21635 "title": "Example usage:",
21636 "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",
21640 "name": "CreateServicenow_Fields",
21641 "group": "Servicenow_Fields",
21651 "\"customVariable\"",
21662 "field": "content",
21678 "\"customVariable\""
21681 "field": "keyType",
21688 "field": "keyContent",
21695 "field": "idField",
21702 "field": "nameField",
21709 "field": "customField",
21716 "field": "variableName",
21722 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21723 "version": "0.0.0",
21724 "filename": "server/api/intServicenowField/index.js",
21725 "groupTitle": "Servicenow_Fields"
21729 "url": "/api/integrations/servicenow/fields/{id}",
21730 "title": "Deletes a Servicenow Field",
21733 "title": "Example usage:",
21734 "content": "curl https://{domain}/api/integrations/servicenow/fields/{id} -v -u {name}:{password} -X DELETE",
21738 "name": "DeleteServicenow_Fields",
21739 "group": "Servicenow_Fields",
21740 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21741 "version": "0.0.0",
21742 "filename": "server/api/intServicenowField/index.js",
21743 "groupTitle": "Servicenow_Fields"
21747 "url": "/api/integrations/servicenow/fields",
21748 "title": "Gets a list of Servicenow Fields",
21751 "title": "Example usage:",
21752 "content": "curl https://{domain}/api/integrations/servicenow/fields -v -u {name}:{password}",
21756 "name": "GetServicenow_Fields",
21757 "group": "Servicenow_Fields",
21758 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21759 "version": "0.0.0",
21760 "filename": "server/api/intServicenowField/index.js",
21761 "groupTitle": "Servicenow_Fields"
21765 "url": "/api/integrations/servicenow/fields/{id}",
21766 "title": "Gets a single Servicenow Field",
21769 "title": "Example usage:",
21770 "content": "curl https://{domain}/api/integrations/servicenow/fields/{id} -v -u {name}:{password}",
21774 "name": "ShowServicenow_Fields",
21775 "group": "Servicenow_Fields",
21776 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21777 "version": "0.0.0",
21778 "filename": "server/api/intServicenowField/index.js",
21779 "groupTitle": "Servicenow_Fields"
21783 "url": "/api/integrations/servicenow/fields/{id}",
21784 "title": "Update an existing Servicenow Field",
21787 "title": "Example usage:",
21788 "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",
21792 "name": "updateServicenow_Fields",
21793 "group": "Servicenow_Fields",
21794 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21795 "version": "0.0.0",
21796 "filename": "server/api/intServicenowField/index.js",
21797 "groupTitle": "Servicenow_Fields"
21801 "url": "/api/settings",
21802 "title": "Gets a list of Settings",
21805 "title": "Example usage:",
21806 "content": "curl https://{domain}/api/settings -v -u {name}:{password}",
21810 "name": "GetSettings",
21811 "group": "Settings",
21812 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
21813 "version": "0.0.0",
21814 "filename": "server/api/setting/index.js",
21815 "groupTitle": "Settings"
21819 "url": "/api/settings/{id}",
21820 "title": "Gets a single Setting",
21823 "title": "Example usage:",
21824 "content": "curl https://{domain}/api/settings/{id} -v -u {name}:{password}",
21828 "name": "ShowSettings",
21829 "group": "Settings",
21830 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21831 "version": "0.0.0",
21832 "filename": "server/api/setting/index.js",
21833 "groupTitle": "Settings"
21837 "url": "/api/settings/{id}/favicon",
21838 "title": "Add Favicon",
21841 "title": "Example usage:",
21842 "content": "curl https://{domain}/api/settings/{id}/favicon -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
21846 "name": "addFavicon",
21847 "group": "Settings",
21848 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21849 "version": "0.0.0",
21850 "filename": "server/api/setting/index.js",
21851 "groupTitle": "Settings"
21855 "url": "/api/settings/{id}/logo",
21856 "title": "Add logo",
21859 "title": "Example usage:",
21860 "content": "curl https://{domain}/api/settings/{id}/logo -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
21865 "group": "Settings",
21866 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21867 "version": "0.0.0",
21868 "filename": "server/api/setting/index.js",
21869 "groupTitle": "Settings"
21873 "url": "/api/settings/{id}/logo_login",
21874 "title": "Add logo login",
21877 "title": "Example usage:",
21878 "content": "curl https://{domain}/api/settings/{id}/logo_login -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
21882 "name": "addLogoLogin",
21883 "group": "Settings",
21884 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21885 "version": "0.0.0",
21886 "filename": "server/api/setting/index.js",
21887 "groupTitle": "Settings"
21891 "url": "/api/settings/{id}/preferred",
21892 "title": "Add Preferred",
21895 "title": "Example usage:",
21896 "content": "curl https://{domain}/api/settings/{id}/preferred -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
21900 "name": "addPreferred",
21901 "group": "Settings",
21902 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21903 "version": "0.0.0",
21904 "filename": "server/api/setting/index.js",
21905 "groupTitle": "Settings"
21909 "url": "/api/settings/now",
21910 "title": "Get Server Current Date",
21913 "title": "Example usage:",
21914 "content": "curl https://{domain}/api/settings/now -v -X GET",
21919 "group": "Settings",
21920 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21921 "version": "0.0.0",
21922 "filename": "server/api/setting/index.js",
21923 "groupTitle": "Settings"
21927 "url": "/api/settings/{id}/favicon",
21928 "title": "Get Favicon",
21931 "title": "Example usage:",
21932 "content": "curl https://{domain}/api/settings/{id}/favicon -v -X GET",
21936 "name": "getFavicon",
21937 "group": "Settings",
21938 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21939 "version": "0.0.0",
21940 "filename": "server/api/setting/index.js",
21941 "groupTitle": "Settings"
21945 "url": "/api/settings/{id}/gdpr",
21946 "title": "Get gdpr settings",
21949 "title": "Example usage:",
21950 "content": "curl https://{domain}/api/settings/{id}/gdpr -v -u {name}:{password} -X GET",
21955 "group": "Settings",
21956 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21957 "version": "0.0.0",
21958 "filename": "server/api/setting/index.js",
21959 "groupTitle": "Settings"
21963 "url": "/api/settings/{id}/logo",
21964 "title": "Get logo",
21967 "title": "Example usage:",
21968 "content": "curl https://{domain}/api/settings/{id}/logo -v -X GET",
21973 "group": "Settings",
21974 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21975 "version": "0.0.0",
21976 "filename": "server/api/setting/index.js",
21977 "groupTitle": "Settings"
21981 "url": "/api/settings/{id}/logo_login",
21982 "title": "Get logo login",
21985 "title": "Example usage:",
21986 "content": "curl https://{domain}/api/settings/{id}/logo_login -v -X GET",
21990 "name": "getLogoLogin",
21991 "group": "Settings",
21992 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21993 "version": "0.0.0",
21994 "filename": "server/api/setting/index.js",
21995 "groupTitle": "Settings"
21999 "url": "/api/settings/{id}/preferred",
22000 "title": "Get Preferred",
22003 "title": "Example usage:",
22004 "content": "curl https://{domain}/api/settings/{id}/preferred -v -X GET",
22008 "name": "getPreferred",
22009 "group": "Settings",
22010 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22011 "version": "0.0.0",
22012 "filename": "server/api/setting/index.js",
22013 "groupTitle": "Settings"
22017 "url": "/api/settings/{id}",
22018 "title": "Update an existing Setting",
22021 "title": "Example usage:",
22022 "content": "curl https://{domain}/api/settings/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
22026 "name": "updateSettings",
22027 "group": "Settings",
22028 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22029 "version": "0.0.0",
22030 "filename": "server/api/setting/index.js",
22031 "groupTitle": "Settings"
22035 "url": "/api/sms/accounts/{id}/users",
22036 "title": "Add agents to a sms account",
22039 "title": "Example usage:",
22040 "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",
22044 "name": "AddAgents",
22045 "group": "Sms_Accounts",
22046 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22047 "version": "0.0.0",
22048 "filename": "server/api/smsAccount/index.js",
22049 "groupTitle": "Sms_Accounts"
22053 "url": "/api/sms/accounts",
22054 "title": "Creates a new Account",
22057 "title": "Example usage:",
22058 "content": "curl https://{domain}/api/sms/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22062 "name": "CreateAccounts",
22063 "group": "Sms_Accounts",
22124 "field": "accountSid",
22138 "field": "authToken",
22150 "field": "smsMethod",
22157 "field": "username",
22164 "field": "password",
22178 "field": "senderString",
22185 "field": "deliveryReport",
22192 "field": "description",
22199 "field": "notificationTemplate",
22206 "field": "notificationSound",
22213 "field": "notificationShake",
22220 "field": "waitForTheAssignedAgent",
22227 "field": "queueTransfer",
22234 "field": "queueTransferTimeout",
22241 "field": "agentTransfer",
22248 "field": "agentTransferTimeout",
22255 "field": "baseUrl",
22262 "field": "mandatoryDispositionPauseId",
22263 "description": "<p>Status to put when mandatory disposition is enabled</p>"
22269 "field": "mandatoryDisposition",
22270 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
22275 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22276 "version": "0.0.0",
22277 "filename": "server/api/smsAccount/index.js",
22278 "groupTitle": "Sms_Accounts"
22282 "url": "/api/sms/accounts/{id}",
22283 "title": "Deletes a Account",
22286 "title": "Example usage:",
22287 "content": "curl https://{domain}/api/sms/accounts/{id} -v -u {name}:{password} -X DELETE",
22291 "name": "DeleteAccounts",
22292 "group": "Sms_Accounts",
22293 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22294 "version": "0.0.0",
22295 "filename": "server/api/smsAccount/index.js",
22296 "groupTitle": "Sms_Accounts"
22300 "url": "/api/sms/accounts/describe",
22301 "title": "Gets table info about Accounts",
22304 "title": "Example usage:",
22305 "content": "curl https://{domain}/api/sms/accounts/describe -v -u {name}:{password}",
22309 "name": "DescribeAccounts",
22310 "group": "Sms_Accounts",
22311 "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>",
22312 "version": "0.0.0",
22313 "filename": "server/api/smsAccount/index.js",
22314 "groupTitle": "Sms_Accounts"
22318 "url": "/api/sms/accounts",
22319 "title": "Gets a list of Accounts",
22322 "title": "Example usage:",
22323 "content": "curl https://{domain}/api/sms/accounts -v -u {name}:{password}",
22327 "name": "GetAccounts",
22328 "group": "Sms_Accounts",
22329 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
22330 "version": "0.0.0",
22331 "filename": "server/api/smsAccount/index.js",
22332 "groupTitle": "Sms_Accounts"
22336 "url": "/api/sms/accounts/{id}/users",
22337 "title": "Gets agents from sms account",
22340 "title": "Example usage:",
22341 "content": "curl https://{domain}/api/sms/accounts/{id}/users -v -u {name}:{password} -X GET",
22345 "name": "GetAgents",
22346 "group": "Sms_Accounts",
22347 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22348 "version": "0.0.0",
22349 "filename": "server/api/smsAccount/index.js",
22350 "groupTitle": "Sms_Accounts"
22354 "url": "/api/sms/accounts/{id}/users",
22355 "title": "Removes agents from a sms account",
22358 "title": "Example usage:",
22359 "content": "curl https://{domain}/api/sms/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
22363 "name": "RemoveAgents",
22364 "group": "Sms_Accounts",
22365 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22366 "version": "0.0.0",
22367 "filename": "server/api/smsAccount/index.js",
22368 "groupTitle": "Sms_Accounts"
22372 "url": "/api/sms/accounts/{id}/canned_answers",
22373 "title": "Removes canned answers from account",
22376 "title": "Example usage:",
22377 "content": "curl https://{domain}/api/sms/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
22381 "name": "RemoveAnswers",
22382 "group": "Sms_Accounts",
22383 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22384 "version": "0.0.0",
22385 "filename": "server/api/smsAccount/index.js",
22386 "groupTitle": "Sms_Accounts"
22390 "url": "/api/sms/accounts/{id}/dispositions",
22391 "title": "Removes dispositions from account",
22394 "title": "Example usage:",
22395 "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
22399 "name": "RemoveDispositions",
22400 "group": "Sms_Accounts",
22401 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22402 "version": "0.0.0",
22403 "filename": "server/api/smsAccount/index.js",
22404 "groupTitle": "Sms_Accounts"
22408 "url": "/api/sms/accounts/{id}",
22409 "title": "Gets a single Account",
22412 "title": "Example usage:",
22413 "content": "curl https://{domain}/api/sms/accounts/{id} -v -u {name}:{password}",
22417 "name": "ShowAccounts",
22418 "group": "Sms_Accounts",
22419 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22420 "version": "0.0.0",
22421 "filename": "server/api/smsAccount/index.js",
22422 "groupTitle": "Sms_Accounts"
22426 "url": "/api/sms/messages/{id}/accept",
22427 "title": "Accepts message",
22430 "title": "Example usage:",
22431 "content": "curl https://{domain}/api/sms/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
22435 "name": "acceptMessage",
22436 "group": "Sms_Accounts",
22437 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22438 "version": "0.0.0",
22439 "filename": "server/api/smsMessage/index.js",
22440 "groupTitle": "Sms_Accounts"
22444 "url": "/api/sms/accounts/{id}/canned_answers",
22445 "title": "Creates new canned answer",
22448 "title": "Example usage:",
22449 "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",
22453 "name": "addAnswer",
22454 "group": "Sms_Accounts",
22476 "field": "description",
22489 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22490 "version": "0.0.0",
22491 "filename": "server/api/smsAccount/index.js",
22492 "groupTitle": "Sms_Accounts"
22496 "url": "/api/sms/accounts/{id}/applications",
22497 "title": "Creates new applications",
22500 "title": "Example usage:",
22501 "content": "curl https://{domain}/api/sms/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
22505 "name": "addApplications",
22506 "group": "Sms_Accounts",
22514 "field": "priority",
22528 "field": "appdata",
22535 "field": "description",
22542 "field": "interval",
22548 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22549 "version": "0.0.0",
22550 "filename": "server/api/smsAccount/index.js",
22551 "groupTitle": "Sms_Accounts"
22555 "url": "/api/sms/accounts/{id}/dispositions",
22556 "title": "Creates new disposition",
22559 "title": "Example usage:",
22560 "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
22564 "name": "addDisposition",
22565 "group": "Sms_Accounts",
22592 "field": "description",
22598 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22599 "version": "0.0.0",
22600 "filename": "server/api/smsAccount/index.js",
22601 "groupTitle": "Sms_Accounts"
22605 "url": "/api/sms/accounts/{id}/canned_answers",
22606 "title": "Gets account canned answers",
22609 "title": "Example usage:",
22610 "content": "curl https://{domain}/api/sms/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
22614 "name": "getAnswers",
22615 "group": "Sms_Accounts",
22616 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22617 "version": "0.0.0",
22618 "filename": "server/api/smsAccount/index.js",
22619 "groupTitle": "Sms_Accounts"
22623 "url": "/api/sms/accounts/{id}/applications",
22624 "title": "Gets account applications",
22627 "title": "Example usage:",
22628 "content": "curl https://{domain}/api/sms/accounts/{id}/applications -v -u {name}:{password} -X GET",
22632 "name": "getApplications",
22633 "group": "Sms_Accounts",
22634 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22635 "version": "0.0.0",
22636 "filename": "server/api/smsAccount/index.js",
22637 "groupTitle": "Sms_Accounts"
22641 "url": "/api/sms/accounts/{id}/dispositions",
22642 "title": "Gets account dispositions",
22645 "title": "Example usage:",
22646 "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
22650 "name": "getDispositions",
22651 "group": "Sms_Accounts",
22652 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22653 "version": "0.0.0",
22654 "filename": "server/api/smsAccount/index.js",
22655 "groupTitle": "Sms_Accounts"
22659 "url": "/api/sms/accounts/{id}/interactions",
22660 "title": "Gets Sms Account interactions",
22663 "title": "Example usage:",
22664 "content": "curl https://{domain}/api/sms/accounts/{id}/interactions -v -u {name}:{password} -X GET",
22668 "name": "getInteractions",
22669 "group": "Sms_Accounts",
22670 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22671 "version": "0.0.0",
22672 "filename": "server/api/smsAccount/index.js",
22673 "groupTitle": "Sms_Accounts"
22677 "url": "/api/sms/accounts/{id}/notify",
22678 "title": "Notify new message",
22681 "title": "Example usage:",
22682 "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",
22687 "group": "Sms_Accounts",
22688 "description": "<p>Motion 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>",
22689 "version": "0.0.0",
22690 "filename": "server/api/smsAccount/index.js",
22691 "groupTitle": "Sms_Accounts"
22695 "url": "/api/sms/messages/{id}/reject",
22696 "title": "Rejects message",
22699 "title": "Example usage:",
22700 "content": "curl https://{domain}/api/sms/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
22704 "name": "rejectMessage",
22705 "group": "Sms_Accounts",
22706 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22707 "version": "0.0.0",
22708 "filename": "server/api/smsMessage/index.js",
22709 "groupTitle": "Sms_Accounts"
22713 "url": "/api/sms/accounts/{id}/send",
22714 "title": "Send new sms message",
22717 "title": "Example usage:",
22718 "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",
22723 "group": "Sms_Accounts",
22724 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22725 "version": "0.0.0",
22726 "filename": "server/api/smsAccount/index.js",
22727 "groupTitle": "Sms_Accounts"
22731 "url": "/api/sms/accounts/{id}/status",
22732 "title": "Receive message status as get request",
22735 "title": "Example usage:",
22736 "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET",
22740 "name": "statusMessage",
22741 "group": "Sms_Accounts",
22742 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22743 "version": "0.0.0",
22744 "filename": "server/api/smsAccount/index.js",
22745 "groupTitle": "Sms_Accounts"
22749 "url": "/api/sms/messages/{id}/status",
22750 "title": "Receive message status",
22753 "title": "Example usage:",
22754 "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
22758 "name": "statusMessage",
22759 "group": "Sms_Accounts",
22760 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22761 "version": "0.0.0",
22762 "filename": "server/api/smsMessage/index.js",
22763 "groupTitle": "Sms_Accounts"
22767 "url": "/api/sms/accounts/{id}/status",
22768 "title": "Receive message status",
22771 "title": "Example usage:",
22772 "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST",
22776 "name": "statusMessage",
22777 "group": "Sms_Accounts",
22778 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22779 "version": "0.0.0",
22780 "filename": "server/api/smsAccount/index.js",
22781 "groupTitle": "Sms_Accounts"
22785 "url": "/api/sms/accounts/{id}",
22786 "title": "Update an existing Account",
22789 "title": "Example usage:",
22790 "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",
22794 "name": "updateAccounts",
22795 "group": "Sms_Accounts",
22796 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22797 "version": "0.0.0",
22798 "filename": "server/api/smsAccount/index.js",
22799 "groupTitle": "Sms_Accounts"
22803 "url": "/api/sms/applications",
22804 "title": "Creates a new Application",
22807 "title": "Example usage:",
22808 "content": "curl https://{domain}/api/sms/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22812 "name": "CreateApplications",
22813 "group": "Sms_Applications",
22821 "field": "priority",
22835 "field": "appdata",
22842 "field": "description",
22849 "field": "interval",
22855 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22856 "version": "0.0.0",
22857 "filename": "server/api/smsApplication/index.js",
22858 "groupTitle": "Sms_Applications"
22862 "url": "/api/sms/applications/{id}",
22863 "title": "Deletes a Application",
22866 "title": "Example usage:",
22867 "content": "curl https://{domain}/api/sms/applications/{id} -v -u {name}:{password} -X DELETE",
22871 "name": "DeleteApplications",
22872 "group": "Sms_Applications",
22873 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22874 "version": "0.0.0",
22875 "filename": "server/api/smsApplication/index.js",
22876 "groupTitle": "Sms_Applications"
22880 "url": "/api/sms/applications",
22881 "title": "Gets a list of Applications",
22884 "title": "Example usage:",
22885 "content": "curl https://{domain}/api/sms/applications -v -u {name}:{password}",
22889 "name": "GetApplications",
22890 "group": "Sms_Applications",
22891 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
22892 "version": "0.0.0",
22893 "filename": "server/api/smsApplication/index.js",
22894 "groupTitle": "Sms_Applications"
22898 "url": "/api/sms/applications/{id}",
22899 "title": "Gets a single Application",
22902 "title": "Example usage:",
22903 "content": "curl https://{domain}/api/sms/applications/{id} -v -u {name}:{password}",
22907 "name": "ShowApplications",
22908 "group": "Sms_Applications",
22909 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22910 "version": "0.0.0",
22911 "filename": "server/api/smsApplication/index.js",
22912 "groupTitle": "Sms_Applications"
22916 "url": "/api/sms/applications/{id}",
22917 "title": "Update an existing Application",
22920 "title": "Example usage:",
22921 "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",
22925 "name": "updateApplications",
22926 "group": "Sms_Applications",
22927 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22928 "version": "0.0.0",
22929 "filename": "server/api/smsApplication/index.js",
22930 "groupTitle": "Sms_Applications"
22934 "url": "/api/sms/interactions/{id}/tags",
22935 "title": "Add tags to the interaction",
22938 "title": "Example usage:",
22939 "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",
22944 "group": "Sms_Interactions",
22945 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22946 "version": "0.0.0",
22947 "filename": "server/api/smsInteraction/index.js",
22948 "groupTitle": "Sms_Interactions"
22952 "url": "/api/sms/interactions",
22953 "title": "Creates a new Interaction",
22956 "title": "Example usage:",
22957 "content": "curl https://{domain}/api/sms/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22961 "name": "CreateInteractions",
22962 "group": "Sms_Interactions",
22977 "field": "closedAt",
22984 "field": "disposition",
22991 "field": "secondDisposition",
22998 "field": "thirdDisposition",
23019 "field": "read1stAt",
23030 "field": "firstMsgDirection",
23037 "field": "lastMsgAt",
23048 "field": "lastMsgDirection",
23054 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23055 "version": "0.0.0",
23056 "filename": "server/api/smsInteraction/index.js",
23057 "groupTitle": "Sms_Interactions"
23061 "url": "/api/sms/interactions/{id}",
23062 "title": "Deletes a Interaction",
23065 "title": "Example usage:",
23066 "content": "curl https://{domain}/api/sms/interactions/{id} -v -u {name}:{password} -X DELETE",
23070 "name": "DeleteInteractions",
23071 "group": "Sms_Interactions",
23072 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23073 "version": "0.0.0",
23074 "filename": "server/api/smsInteraction/index.js",
23075 "groupTitle": "Sms_Interactions"
23079 "url": "/api/sms/interactions/describe",
23080 "title": "Gets table info about Interactions",
23083 "title": "Example usage:",
23084 "content": "curl https://{domain}/api/sms/interactions/describe -v -u {name}:{password}",
23088 "name": "DescribeInteractions",
23089 "group": "Sms_Interactions",
23090 "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>",
23091 "version": "0.0.0",
23092 "filename": "server/api/smsInteraction/index.js",
23093 "groupTitle": "Sms_Interactions"
23097 "url": "/api/sms/interactions",
23098 "title": "Gets a list of Interactions",
23101 "title": "Example usage:",
23102 "content": "curl https://{domain}/api/sms/interactions -v -u {name}:{password}",
23106 "name": "GetInteractions",
23107 "group": "Sms_Interactions",
23108 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
23109 "version": "0.0.0",
23110 "filename": "server/api/smsInteraction/index.js",
23111 "groupTitle": "Sms_Interactions"
23115 "url": "/api/sms/interactions/{id}/tags",
23116 "title": "Removes tags from interaction",
23119 "title": "Example usage:",
23120 "content": "curl https://{domain}/api/sms/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
23124 "name": "RemoveTags",
23125 "group": "Sms_Interactions",
23126 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23127 "version": "0.0.0",
23128 "filename": "server/api/smsInteraction/index.js",
23129 "groupTitle": "Sms_Interactions"
23133 "url": "/api/sms/interactions/{id}",
23134 "title": "Gets a single Interaction",
23137 "title": "Example usage:",
23138 "content": "curl https://{domain}/api/sms/interactions/{id} -v -u {name}:{password}",
23142 "name": "ShowInteractions",
23143 "group": "Sms_Interactions",
23144 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23145 "version": "0.0.0",
23146 "filename": "server/api/smsInteraction/index.js",
23147 "groupTitle": "Sms_Interactions"
23151 "url": "/api/sms/interactions/{id}/messages",
23152 "title": "Creates new messages",
23155 "title": "Example usage:",
23156 "content": "curl https://{domain}/api/sms/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
23160 "name": "addMessage",
23161 "group": "Sms_Interactions",
23187 "field": "direction",
23194 "field": "messageId",
23222 "field": "providerName",
23229 "field": "providerResponse",
23235 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23236 "version": "0.0.0",
23237 "filename": "server/api/smsInteraction/index.js",
23238 "groupTitle": "Sms_Interactions"
23242 "url": "/api/sms/interactions/{id}/download",
23243 "title": "Gets interaction",
23246 "title": "Example usage:",
23247 "content": "curl https://{domain}/api/sms/interactions/{id}/download -v -u {name}:{password} -X GET",
23251 "name": "download",
23252 "group": "Sms_Interactions",
23253 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23254 "version": "0.0.0",
23255 "filename": "server/api/smsInteraction/index.js",
23256 "groupTitle": "Sms_Interactions"
23260 "url": "/api/sms/interactions/{id}/messages",
23261 "title": "Gets interaction messages",
23264 "title": "Example usage:",
23265 "content": "curl https://{domain}/api/sms/interactions/{id}/messages -v -u {name}:{password} -X GET",
23269 "name": "getMessages",
23270 "group": "Sms_Interactions",
23271 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23272 "version": "0.0.0",
23273 "filename": "server/api/smsInteraction/index.js",
23274 "groupTitle": "Sms_Interactions"
23278 "url": "/api/sms/interactions/{id}",
23279 "title": "Update an existing Interaction",
23282 "title": "Example usage:",
23283 "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",
23287 "name": "updateInteractions",
23288 "group": "Sms_Interactions",
23289 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23290 "version": "0.0.0",
23291 "filename": "server/api/smsInteraction/index.js",
23292 "groupTitle": "Sms_Interactions"
23296 "url": "/api/sms/messages",
23297 "title": "Creates a new Message",
23300 "title": "Example usage:",
23301 "content": "curl https://{domain}/api/sms/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23305 "name": "CreateMessages",
23306 "group": "Sms_Messages",
23332 "field": "direction",
23339 "field": "messageId",
23367 "field": "providerName",
23374 "field": "providerResponse",
23380 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23381 "version": "0.0.0",
23382 "filename": "server/api/smsMessage/index.js",
23383 "groupTitle": "Sms_Messages"
23387 "url": "/api/sms/messages/{id}",
23388 "title": "Deletes a Message",
23391 "title": "Example usage:",
23392 "content": "curl https://{domain}/api/sms/messages/{id} -v -u {name}:{password} -X DELETE",
23396 "name": "DeleteMessages",
23397 "group": "Sms_Messages",
23398 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23399 "version": "0.0.0",
23400 "filename": "server/api/smsMessage/index.js",
23401 "groupTitle": "Sms_Messages"
23405 "url": "/api/sms/messages/describe",
23406 "title": "Gets table info about Messages",
23409 "title": "Example usage:",
23410 "content": "curl https://{domain}/api/sms/messages/describe -v -u {name}:{password}",
23414 "name": "DescribeMessages",
23415 "group": "Sms_Messages",
23416 "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>",
23417 "version": "0.0.0",
23418 "filename": "server/api/smsMessage/index.js",
23419 "groupTitle": "Sms_Messages"
23423 "url": "/api/sms/messages",
23424 "title": "Gets a list of Messages",
23427 "title": "Example usage:",
23428 "content": "curl https://{domain}/api/sms/messages -v -u {name}:{password}",
23432 "name": "GetMessages",
23433 "group": "Sms_Messages",
23434 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
23435 "version": "0.0.0",
23436 "filename": "server/api/smsMessage/index.js",
23437 "groupTitle": "Sms_Messages"
23441 "url": "/api/sms/messages/{id}",
23442 "title": "Gets a single Message",
23445 "title": "Example usage:",
23446 "content": "curl https://{domain}/api/sms/messages/{id} -v -u {name}:{password}",
23450 "name": "ShowMessages",
23451 "group": "Sms_Messages",
23452 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23453 "version": "0.0.0",
23454 "filename": "server/api/smsMessage/index.js",
23455 "groupTitle": "Sms_Messages"
23459 "url": "/api/sms/messages/{id}",
23460 "title": "Update an existing Message",
23463 "title": "Example usage:",
23464 "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",
23468 "name": "updateMessages",
23469 "group": "Sms_Messages",
23470 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23471 "version": "0.0.0",
23472 "filename": "server/api/smsMessage/index.js",
23473 "groupTitle": "Sms_Messages"
23477 "url": "/api/sms/reports/queue",
23478 "title": "Creates a new Sms Queue Report",
23481 "title": "Example usage:",
23482 "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",
23486 "name": "CreateSms_Queue_Reports",
23487 "group": "Sms_Queue_Reports",
23495 "field": "uniqueid",
23516 "field": "leaveAt",
23523 "field": "acceptAt",
23543 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23544 "version": "0.0.0",
23545 "filename": "server/api/smsQueueReport/index.js",
23546 "groupTitle": "Sms_Queue_Reports"
23550 "url": "/api/sms/reports/queue/{id}",
23551 "title": "Deletes a Sms Queue Report",
23554 "title": "Example usage:",
23555 "content": "curl https://{domain}/api/sms/reports/queue/{id} -v -u {name}:{password} -X DELETE",
23559 "name": "DeleteSms_Queue_Reports",
23560 "group": "Sms_Queue_Reports",
23561 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23562 "version": "0.0.0",
23563 "filename": "server/api/smsQueueReport/index.js",
23564 "groupTitle": "Sms_Queue_Reports"
23568 "url": "/api/sms/reports/queue/describe",
23569 "title": "Gets table info about Sms Queue Reports",
23572 "title": "Example usage:",
23573 "content": "curl https://{domain}/api/sms/reports/queue/describe -v -u {name}:{password}",
23577 "name": "DescribeSms_Queue_Reports",
23578 "group": "Sms_Queue_Reports",
23579 "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>",
23580 "version": "0.0.0",
23581 "filename": "server/api/smsQueueReport/index.js",
23582 "groupTitle": "Sms_Queue_Reports"
23586 "url": "/api/sms/reports/queue",
23587 "title": "Gets a list of Sms Queue Reports",
23590 "title": "Example usage:",
23591 "content": "curl https://{domain}/api/sms/reports/queue -v -u {name}:{password}",
23595 "name": "GetSms_Queue_Reports",
23596 "group": "Sms_Queue_Reports",
23597 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
23598 "version": "0.0.0",
23599 "filename": "server/api/smsQueueReport/index.js",
23600 "groupTitle": "Sms_Queue_Reports"
23604 "url": "/api/sms/reports/queue/{id}",
23605 "title": "Gets a single Sms Queue Report",
23608 "title": "Example usage:",
23609 "content": "curl https://{domain}/api/sms/reports/queue/{id} -v -u {name}:{password}",
23613 "name": "ShowSms_Queue_Reports",
23614 "group": "Sms_Queue_Reports",
23615 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23616 "version": "0.0.0",
23617 "filename": "server/api/smsQueueReport/index.js",
23618 "groupTitle": "Sms_Queue_Reports"
23622 "url": "/api/sms/reports/queue/{id}",
23623 "title": "Update an existing Sms Queue Report",
23626 "title": "Example usage:",
23627 "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",
23631 "name": "updateSms_Queue_Reports",
23632 "group": "Sms_Queue_Reports",
23633 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23634 "version": "0.0.0",
23635 "filename": "server/api/smsQueueReport/index.js",
23636 "groupTitle": "Sms_Queue_Reports"
23640 "url": "/api/sms/queues/{id}/users",
23641 "title": "Add agents to a queue",
23644 "title": "Example usage:",
23645 "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",
23649 "name": "AddAgents",
23650 "group": "Sms_Queues",
23651 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23652 "version": "0.0.0",
23653 "filename": "server/api/smsQueue/index.js",
23654 "groupTitle": "Sms_Queues"
23658 "url": "/api/sms/queues/{id}/teams",
23659 "title": "Add teams to a queue",
23662 "title": "Example usage:",
23663 "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",
23667 "name": "AddTeams",
23668 "group": "Sms_Queues",
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/smsQueue/index.js",
23672 "groupTitle": "Sms_Queues"
23676 "url": "/api/sms/queues",
23677 "title": "Creates a new Queue",
23680 "title": "Example usage:",
23681 "content": "curl https://{domain}/api/sms/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23685 "name": "CreateQueues",
23686 "group": "Sms_Queues",
23701 "field": "description",
23708 "field": "timeout",
23720 "field": "strategy",
23726 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23727 "version": "0.0.0",
23728 "filename": "server/api/smsQueue/index.js",
23729 "groupTitle": "Sms_Queues"
23733 "url": "/api/sms/queues/{id}",
23734 "title": "Deletes a Queue",
23737 "title": "Example usage:",
23738 "content": "curl https://{domain}/api/sms/queues/{id} -v -u {name}:{password} -X DELETE",
23742 "name": "DeleteQueues",
23743 "group": "Sms_Queues",
23744 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23745 "version": "0.0.0",
23746 "filename": "server/api/smsQueue/index.js",
23747 "groupTitle": "Sms_Queues"
23751 "url": "/api/sms/queues/describe",
23752 "title": "Gets table info about Queues",
23755 "title": "Example usage:",
23756 "content": "curl https://{domain}/api/sms/queues/describe -v -u {name}:{password}",
23760 "name": "DescribeQueues",
23761 "group": "Sms_Queues",
23762 "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>",
23763 "version": "0.0.0",
23764 "filename": "server/api/smsQueue/index.js",
23765 "groupTitle": "Sms_Queues"
23769 "url": "/api/sms/queues/{id}/users",
23770 "title": "Gets queue agents",
23773 "title": "Example usage:",
23774 "content": "curl https://{domain}/api/sms/queues/{id}/users -v -u {name}:{password} -X POST",
23778 "name": "GetAgents",
23779 "group": "Sms_Queues",
23780 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23781 "version": "0.0.0",
23782 "filename": "server/api/smsQueue/index.js",
23783 "groupTitle": "Sms_Queues"
23787 "url": "/api/sms/queues/{id}/members",
23788 "title": "GetMembers",
23791 "title": "Example usage:",
23792 "content": "curl https://{domain}/api/sms/queues/{id}/members -v -u {name}:{password}",
23796 "name": "GetMembers",
23797 "group": "Sms_Queues",
23798 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23799 "version": "0.0.0",
23800 "filename": "server/api/smsQueue/index.js",
23801 "groupTitle": "Sms_Queues"
23805 "url": "/api/sms/queues",
23806 "title": "Gets a list of Queues",
23809 "title": "Example usage:",
23810 "content": "curl https://{domain}/api/sms/queues -v -u {name}:{password}",
23814 "name": "GetQueues",
23815 "group": "Sms_Queues",
23816 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
23817 "version": "0.0.0",
23818 "filename": "server/api/smsQueue/index.js",
23819 "groupTitle": "Sms_Queues"
23823 "url": "/api/sms/queues/{id}/teams",
23824 "title": "Gets queues list",
23827 "title": "Example usage:",
23828 "content": "curl https://{domain}/api/sms/queues/{id}/teams -v -u {name}:{password}",
23832 "name": "GetTeams",
23833 "group": "Sms_Queues",
23834 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23835 "version": "0.0.0",
23836 "filename": "server/api/smsQueue/index.js",
23837 "groupTitle": "Sms_Queues"
23841 "url": "/api/sms/queues/{id}/users",
23842 "title": "Removes agents from a queue",
23845 "title": "Example usage:",
23846 "content": "curl https://{domain}/api/sms/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
23850 "name": "RemoveAgents",
23851 "group": "Sms_Queues",
23852 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23853 "version": "0.0.0",
23854 "filename": "server/api/smsQueue/index.js",
23855 "groupTitle": "Sms_Queues"
23859 "url": "/api/sms/queues/{id}",
23860 "title": "Gets a single Queue",
23863 "title": "Example usage:",
23864 "content": "curl https://{domain}/api/sms/queues/{id} -v -u {name}:{password}",
23868 "name": "ShowQueues",
23869 "group": "Sms_Queues",
23870 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23871 "version": "0.0.0",
23872 "filename": "server/api/smsQueue/index.js",
23873 "groupTitle": "Sms_Queues"
23877 "url": "/api/sms/queues/{id}",
23878 "title": "Update an existing Queue",
23881 "title": "Example usage:",
23882 "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",
23886 "name": "updateQueues",
23887 "group": "Sms_Queues",
23888 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23889 "version": "0.0.0",
23890 "filename": "server/api/smsQueue/index.js",
23891 "groupTitle": "Sms_Queues"
23895 "url": "/api/sms/reports/transfer",
23896 "title": "Creates a new Sms Transfer Report",
23899 "title": "Example usage:",
23900 "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",
23904 "name": "CreateSms_Transfer_Reports",
23905 "group": "Sms_Transfer_Reports",
23913 "field": "uniqueid",
23932 "field": "transferredAt",
23938 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23939 "version": "0.0.0",
23940 "filename": "server/api/smsTransferReport/index.js",
23941 "groupTitle": "Sms_Transfer_Reports"
23945 "url": "/api/sms/reports/transfer/{id}",
23946 "title": "Deletes a Sms Transfer Report",
23949 "title": "Example usage:",
23950 "content": "curl https://{domain}/api/sms/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
23954 "name": "DeleteSms_Transfer_Reports",
23955 "group": "Sms_Transfer_Reports",
23956 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23957 "version": "0.0.0",
23958 "filename": "server/api/smsTransferReport/index.js",
23959 "groupTitle": "Sms_Transfer_Reports"
23963 "url": "/api/sms/reports/transfer/describe",
23964 "title": "Gets table info about Sms Transfer Reports",
23967 "title": "Example usage:",
23968 "content": "curl https://{domain}/api/sms/reports/transfer/describe -v -u {name}:{password}",
23972 "name": "DescribeSms_Transfer_Reports",
23973 "group": "Sms_Transfer_Reports",
23974 "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>",
23975 "version": "0.0.0",
23976 "filename": "server/api/smsTransferReport/index.js",
23977 "groupTitle": "Sms_Transfer_Reports"
23981 "url": "/api/sms/reports/transfer",
23982 "title": "Gets a list of Sms Transfer Reports",
23985 "title": "Example usage:",
23986 "content": "curl https://{domain}/api/sms/reports/transfer -v -u {name}:{password}",
23990 "name": "GetSms_Transfer_Reports",
23991 "group": "Sms_Transfer_Reports",
23992 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
23993 "version": "0.0.0",
23994 "filename": "server/api/smsTransferReport/index.js",
23995 "groupTitle": "Sms_Transfer_Reports"
23999 "url": "/api/sms/reports/transfer/{id}",
24000 "title": "Gets a single Sms Transfer Report",
24003 "title": "Example usage:",
24004 "content": "curl https://{domain}/api/sms/reports/transfer/{id} -v -u {name}:{password}",
24008 "name": "ShowSms_Transfer_Reports",
24009 "group": "Sms_Transfer_Reports",
24010 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24011 "version": "0.0.0",
24012 "filename": "server/api/smsTransferReport/index.js",
24013 "groupTitle": "Sms_Transfer_Reports"
24017 "url": "/api/sms/reports/transfer/{id}",
24018 "title": "Update an existing Sms Transfer Report",
24021 "title": "Example usage:",
24022 "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",
24026 "name": "updateSms_Transfer_Reports",
24027 "group": "Sms_Transfer_Reports",
24028 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24029 "version": "0.0.0",
24030 "filename": "server/api/smsTransferReport/index.js",
24031 "groupTitle": "Sms_Transfer_Reports"
24035 "url": "/api/sounds",
24036 "title": "Gets a list of Sounds",
24039 "title": "Example usage:",
24040 "content": "curl https://{domain}/api/sounds -v -u {name}:{password}",
24044 "name": "GetSounds",
24046 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24047 "version": "0.0.0",
24048 "filename": "server/api/sound/index.js",
24049 "groupTitle": "Sounds"
24053 "url": "/api/sounds/{id}",
24054 "title": "Gets a single Sound",
24057 "title": "Example usage:",
24058 "content": "curl https://{domain}/api/sounds/{id} -v -u {name}:{password}",
24062 "name": "ShowSounds",
24064 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24065 "version": "0.0.0",
24066 "filename": "server/api/sound/index.js",
24067 "groupTitle": "Sounds"
24071 "url": "/api/sounds",
24072 "title": "Create a new sound",
24075 "title": "Example usage:",
24076 "content": "curl https://{domain}/api/sounds -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
24080 "name": "addSound",
24082 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24083 "version": "0.0.0",
24084 "filename": "server/api/sound/index.js",
24085 "groupTitle": "Sounds"
24089 "url": "/api/sounds/{id}",
24090 "title": "Deletes a sound",
24093 "title": "Example usage:",
24094 "content": "curl https://{domain}/api/sounds/{id} -v -u {name}:{password} -X DELETE",
24098 "name": "destroySound",
24100 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24101 "version": "0.0.0",
24102 "filename": "server/api/sound/index.js",
24103 "groupTitle": "Sounds"
24107 "url": "/api/sounds/{id}/download",
24108 "title": "Download Sound",
24111 "title": "Example usage:",
24112 "content": "curl https://{domain}/api/sounds/{id}/download -v -u {name}:{password} -X GET",
24116 "name": "download",
24118 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24119 "version": "0.0.0",
24120 "filename": "server/api/sound/index.js",
24121 "groupTitle": "Sounds"
24125 "url": "/api/sounds",
24126 "title": "Update an existing new sound",
24129 "title": "Example usage:",
24130 "content": "curl https://{domain}/api/sounds -d '[\"name\": \"sound_name\", \"description\": \"sound_desc\"]' -v -u {name}:{password} -X PUT",
24134 "name": "updateSound",
24136 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24137 "version": "0.0.0",
24138 "filename": "server/api/sound/index.js",
24139 "groupTitle": "Sounds"
24143 "url": "/api/square/details/reports",
24144 "title": "Creates a new Square Detail Report",
24147 "title": "Example usage:",
24148 "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",
24152 "name": "CreateSquare_Detail_Reports",
24153 "group": "Square_Details_Reports",
24161 "field": "uniqueid",
24175 "field": "application",
24189 "field": "project_name",
24196 "field": "callerid",
24202 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24203 "version": "0.0.0",
24204 "filename": "server/api/squareReportDetail/index.js",
24205 "groupTitle": "Square_Details_Reports"
24209 "url": "/api/square/details/reports/{id}",
24210 "title": "Deletes a Square Detail Report",
24213 "title": "Example usage:",
24214 "content": "curl https://{domain}/api/square/details/reports/{id} -v -u {name}:{password} -X DELETE",
24218 "name": "DeleteSquare_Detail_Reports",
24219 "group": "Square_Details_Reports",
24220 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24221 "version": "0.0.0",
24222 "filename": "server/api/squareReportDetail/index.js",
24223 "groupTitle": "Square_Details_Reports"
24227 "url": "/api/square/details/reports/describe",
24228 "title": "Gets table info about Square Detail Reports",
24231 "title": "Example usage:",
24232 "content": "curl https://{domain}/api/square/details/reports/describe -v -u {name}:{password}",
24236 "name": "DescribeSquare_Detail_Reports",
24237 "group": "Square_Details_Reports",
24238 "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>",
24239 "version": "0.0.0",
24240 "filename": "server/api/squareReportDetail/index.js",
24241 "groupTitle": "Square_Details_Reports"
24245 "url": "/api/square/details/reports",
24246 "title": "Gets a list of Square Detail Reports",
24249 "title": "Example usage:",
24250 "content": "curl https://{domain}/api/square/details/reports -v -u {name}:{password}",
24254 "name": "GetSquare_Detail_Reports",
24255 "group": "Square_Details_Reports",
24256 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24257 "version": "0.0.0",
24258 "filename": "server/api/squareReportDetail/index.js",
24259 "groupTitle": "Square_Details_Reports"
24263 "url": "/api/square/details/reports/{id}",
24264 "title": "Gets a single Square Detail Report",
24267 "title": "Example usage:",
24268 "content": "curl https://{domain}/api/square/details/reports/{id} -v -u {name}:{password}",
24272 "name": "ShowSquare_Detail_Reports",
24273 "group": "Square_Details_Reports",
24274 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24275 "version": "0.0.0",
24276 "filename": "server/api/squareReportDetail/index.js",
24277 "groupTitle": "Square_Details_Reports"
24281 "url": "/api/square/details/reports/{id}",
24282 "title": "Update an existing Square Detail Report",
24285 "title": "Example usage:",
24286 "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",
24290 "name": "updateSquare_Detail_Reports",
24291 "group": "Square_Details_Reports",
24292 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24293 "version": "0.0.0",
24294 "filename": "server/api/squareReportDetail/index.js",
24295 "groupTitle": "Square_Details_Reports"
24299 "url": "/api/square/messages",
24300 "title": "Creates a new Message",
24303 "title": "Example usage:",
24304 "content": "curl https://{domain}/api/square/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24308 "name": "CreateMessages",
24309 "group": "Square_Messages",
24317 "field": "uniqueid",
24335 "field": "direction",
24342 "field": "providerName",
24349 "field": "providerResponse",
24355 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24356 "version": "0.0.0",
24357 "filename": "server/api/squareMessage/index.js",
24358 "groupTitle": "Square_Messages"
24362 "url": "/api/square/messages/{id}",
24363 "title": "Deletes a Message",
24366 "title": "Example usage:",
24367 "content": "curl https://{domain}/api/square/messages/{id} -v -u {name}:{password} -X DELETE",
24371 "name": "DeleteMessages",
24372 "group": "Square_Messages",
24373 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24374 "version": "0.0.0",
24375 "filename": "server/api/squareMessage/index.js",
24376 "groupTitle": "Square_Messages"
24380 "url": "/api/square/messages",
24381 "title": "Gets a list of Messages",
24384 "title": "Example usage:",
24385 "content": "curl https://{domain}/api/square/messages -v -u {name}:{password}",
24389 "name": "GetMessages",
24390 "group": "Square_Messages",
24391 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24392 "version": "0.0.0",
24393 "filename": "server/api/squareMessage/index.js",
24394 "groupTitle": "Square_Messages"
24398 "url": "/api/square/messages/{id}",
24399 "title": "Gets a single Message",
24402 "title": "Example usage:",
24403 "content": "curl https://{domain}/api/square/messages/{id} -v -u {name}:{password}",
24407 "name": "ShowMessages",
24408 "group": "Square_Messages",
24409 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24410 "version": "0.0.0",
24411 "filename": "server/api/squareMessage/index.js",
24412 "groupTitle": "Square_Messages"
24416 "url": "/api/square/messages/{id}",
24417 "title": "Update an existing Message",
24420 "title": "Example usage:",
24421 "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",
24425 "name": "updateMessages",
24426 "group": "Square_Messages",
24427 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24428 "version": "0.0.0",
24429 "filename": "server/api/squareMessage/index.js",
24430 "groupTitle": "Square_Messages"
24434 "url": "/api/square/odbc",
24435 "title": "Creates a new ODBC",
24438 "title": "Example usage:",
24439 "content": "curl https://{domain}/api/square/odbc -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24443 "name": "CreateODBCs",
24444 "group": "Square_ODBC",
24466 "field": "description",
24472 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24473 "version": "0.0.0",
24474 "filename": "server/api/squareOdbc/index.js",
24475 "groupTitle": "Square_ODBC"
24479 "url": "/api/square/odbc/{id}",
24480 "title": "Deletes a ODBC",
24483 "title": "Example usage:",
24484 "content": "curl https://{domain}/api/square/odbc/{id} -v -u {name}:{password} -X DELETE",
24488 "name": "DeleteODBCs",
24489 "group": "Square_ODBC",
24490 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24491 "version": "0.0.0",
24492 "filename": "server/api/squareOdbc/index.js",
24493 "groupTitle": "Square_ODBC"
24497 "url": "/api/square/odbc",
24498 "title": "Gets a list of ODBCs",
24501 "title": "Example usage:",
24502 "content": "curl https://{domain}/api/square/odbc -v -u {name}:{password}",
24506 "name": "GetODBCs",
24507 "group": "Square_ODBC",
24508 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24509 "version": "0.0.0",
24510 "filename": "server/api/squareOdbc/index.js",
24511 "groupTitle": "Square_ODBC"
24515 "url": "/api/square/odbc/{id}",
24516 "title": "Gets a single ODBC",
24519 "title": "Example usage:",
24520 "content": "curl https://{domain}/api/square/odbc/{id} -v -u {name}:{password}",
24524 "name": "ShowODBCs",
24525 "group": "Square_ODBC",
24526 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24527 "version": "0.0.0",
24528 "filename": "server/api/squareOdbc/index.js",
24529 "groupTitle": "Square_ODBC"
24533 "url": "/api/square/odbc/{id}/test",
24534 "title": "Test Odbc",
24537 "title": "Example usage:",
24538 "content": "curl https://{domain}/api/square/odbc/{id}/test -v -u {name}:{password} -X GET",
24543 "group": "Square_ODBC",
24544 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24545 "version": "0.0.0",
24546 "filename": "server/api/squareOdbc/index.js",
24547 "groupTitle": "Square_ODBC"
24551 "url": "/api/square/odbc/{id}",
24552 "title": "Update an existing ODBC",
24555 "title": "Example usage:",
24556 "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",
24560 "name": "updateODBCs",
24561 "group": "Square_ODBC",
24562 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24563 "version": "0.0.0",
24564 "filename": "server/api/squareOdbc/index.js",
24565 "groupTitle": "Square_ODBC"
24569 "url": "/api/square/projects",
24570 "title": "Creates a new Project",
24573 "title": "Example usage:",
24574 "content": "curl https://{domain}/api/square/projects -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24578 "name": "CreateProjects",
24579 "group": "Square_Projects",
24594 "field": "description",
24608 "field": "preproduction",
24615 "field": "production",
24622 "field": "savedAt",
24629 "field": "publishedAt",
24635 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24636 "version": "0.0.0",
24637 "filename": "server/api/squareProject/index.js",
24638 "groupTitle": "Square_Projects"
24642 "url": "/api/square/projects/{id}",
24643 "title": "Deletes a Project",
24646 "title": "Example usage:",
24647 "content": "curl https://{domain}/api/square/projects/{id} -v -u {name}:{password} -X DELETE",
24651 "name": "DeleteProjects",
24652 "group": "Square_Projects",
24653 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24654 "version": "0.0.0",
24655 "filename": "server/api/squareProject/index.js",
24656 "groupTitle": "Square_Projects"
24660 "url": "/api/square/projects",
24661 "title": "Gets a list of Projects",
24664 "title": "Example usage:",
24665 "content": "curl https://{domain}/api/square/projects -v -u {name}:{password}",
24669 "name": "GetProjects",
24670 "group": "Square_Projects",
24671 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24672 "version": "0.0.0",
24673 "filename": "server/api/squareProject/index.js",
24674 "groupTitle": "Square_Projects"
24678 "url": "/api/square/projects/{id}",
24679 "title": "Gets a single Project",
24682 "title": "Example usage:",
24683 "content": "curl https://{domain}/api/square/projects/{id} -v -u {name}:{password}",
24687 "name": "ShowProjects",
24688 "group": "Square_Projects",
24689 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24690 "version": "0.0.0",
24691 "filename": "server/api/squareProject/index.js",
24692 "groupTitle": "Square_Projects"
24696 "url": "/api/square/projects/{id}/users",
24697 "title": "Adds user permissions to a Project",
24700 "title": "Example usage:",
24701 "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",
24705 "name": "addUsers",
24706 "group": "Square_Projects",
24707 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24708 "version": "0.0.0",
24709 "filename": "server/api/squareProject/index.js",
24710 "groupTitle": "Square_Projects"
24714 "url": "/api/square/projects/{id}/users",
24715 "title": "Gets users permissions from Project",
24718 "title": "Example usage:",
24719 "content": "curl https://{domain}/api/square/projects/{id}/users -v -u {name}:{password} -X GET",
24723 "name": "getUsers",
24724 "group": "Square_Projects",
24725 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24726 "version": "0.0.0",
24727 "filename": "server/api/squareProject/index.js",
24728 "groupTitle": "Square_Projects"
24732 "url": "/api/square/projects/{id}/users",
24733 "title": "Removes user permissions from a Project",
24736 "title": "Example usage:",
24737 "content": "curl https://{domain}/api/square/projects/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
24741 "name": "removeUsers",
24742 "group": "Square_Projects",
24743 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24744 "version": "0.0.0",
24745 "filename": "server/api/squareProject/index.js",
24746 "groupTitle": "Square_Projects"
24750 "url": "/api/square/projects/{id}",
24751 "title": "Update an existing Project",
24754 "title": "Example usage:",
24755 "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",
24759 "name": "updateProjects",
24760 "group": "Square_Projects",
24761 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24762 "version": "0.0.0",
24763 "filename": "server/api/squareProject/index.js",
24764 "groupTitle": "Square_Projects"
24768 "url": "/api/square/recordings",
24769 "title": "Creates a new Recording",
24772 "title": "Example usage:",
24773 "content": "curl https://{domain}/api/square/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24777 "name": "CreateRecordings",
24778 "group": "Square_Recordings",
24786 "field": "uniqueid",
24793 "field": "callerid",
24800 "field": "calleridname",
24807 "field": "context",
24814 "field": "extension",
24821 "field": "priority",
24828 "field": "accountcode",
24842 "field": "projectName",
24849 "field": "saveName",
24856 "field": "filename",
24863 "field": "savePath",
24876 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24877 "version": "0.0.0",
24878 "filename": "server/api/squareRecording/index.js",
24879 "groupTitle": "Square_Recordings"
24883 "url": "/api/square/recordings",
24884 "title": "Gets a list of Recordings",
24887 "title": "Example usage:",
24888 "content": "curl https://{domain}/api/square/recordings -v -u {name}:{password}",
24892 "name": "GetRecordings",
24893 "group": "Square_Recordings",
24894 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
24895 "version": "0.0.0",
24896 "filename": "server/api/squareRecording/index.js",
24897 "groupTitle": "Square_Recordings"
24901 "url": "/api/square/recordings/{id}",
24902 "title": "Gets a single Recording",
24905 "title": "Example usage:",
24906 "content": "curl https://{domain}/api/square/recordings/{id} -v -u {name}:{password}",
24910 "name": "ShowRecordings",
24911 "group": "Square_Recordings",
24912 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24913 "version": "0.0.0",
24914 "filename": "server/api/squareRecording/index.js",
24915 "groupTitle": "Square_Recordings"
24919 "url": "/api/square/recordings/{id}/delete",
24920 "title": "Delete recording",
24923 "title": "Example usage:",
24924 "content": "curl https://{domain}/api/square/recordings/{id}/delete -v -u {name}:{password} -X DELETE",
24929 "group": "Square_Recordings",
24930 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24931 "version": "0.0.0",
24932 "filename": "server/api/squareRecording/index.js",
24933 "groupTitle": "Square_Recordings"
24937 "url": "/api/square/recordings/{id}/download",
24938 "title": "Download Recording",
24941 "title": "Example usage:",
24942 "content": "curl https://{domain}/api/square/recordings/{id}/download -v -u {name}:{password} -X GET",
24946 "name": "download",
24947 "group": "Square_Recordings",
24948 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24949 "version": "0.0.0",
24950 "filename": "server/api/squareRecording/index.js",
24951 "groupTitle": "Square_Recordings"
24955 "url": "/api/square/recordings/{id}",
24956 "title": "Update an existing Recording",
24959 "title": "Example usage:",
24960 "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",
24964 "name": "updateRecordings",
24965 "group": "Square_Recordings",
24966 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24967 "version": "0.0.0",
24968 "filename": "server/api/squareRecording/index.js",
24969 "groupTitle": "Square_Recordings"
24973 "url": "/api/square/reports",
24974 "title": "Creates a new Square Report",
24977 "title": "Example usage:",
24978 "content": "curl https://{domain}/api/square/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24982 "name": "CreateSquare_Reports",
24983 "group": "Square_Reports",
24991 "field": "network",
24998 "field": "network_script",
25005 "field": "request",
25012 "field": "channel",
25019 "field": "language",
25033 "field": "uniqueid",
25040 "field": "version",
25047 "field": "callerid",
25054 "field": "calleridname",
25061 "field": "callingpres",
25068 "field": "callingani2",
25075 "field": "callington",
25082 "field": "callingtns",
25103 "field": "context",
25110 "field": "extension",
25117 "field": "priority",
25124 "field": "enhanced",
25131 "field": "accountcode",
25138 "field": "threadid",
25145 "field": "project_name",
25159 "field": "leaveAt",
25172 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25173 "version": "0.0.0",
25174 "filename": "server/api/squareReport/index.js",
25175 "groupTitle": "Square_Reports"
25179 "url": "/api/square/reports/{id}",
25180 "title": "Deletes a Square Report",
25183 "title": "Example usage:",
25184 "content": "curl https://{domain}/api/square/reports/{id} -v -u {name}:{password} -X DELETE",
25188 "name": "DeleteSquare_Reports",
25189 "group": "Square_Reports",
25190 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25191 "version": "0.0.0",
25192 "filename": "server/api/squareReport/index.js",
25193 "groupTitle": "Square_Reports"
25197 "url": "/api/square/reports/describe",
25198 "title": "Gets table info about Square Reports",
25201 "title": "Example usage:",
25202 "content": "curl https://{domain}/api/square/reports/describe -v -u {name}:{password}",
25206 "name": "DescribeSquare_Reports",
25207 "group": "Square_Reports",
25208 "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>",
25209 "version": "0.0.0",
25210 "filename": "server/api/squareReport/index.js",
25211 "groupTitle": "Square_Reports"
25215 "url": "/api/square/reports",
25216 "title": "Gets a list of Square Reports",
25219 "title": "Example usage:",
25220 "content": "curl https://{domain}/api/square/reports -v -u {name}:{password}",
25224 "name": "GetSquare_Reports",
25225 "group": "Square_Reports",
25226 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25227 "version": "0.0.0",
25228 "filename": "server/api/squareReport/index.js",
25229 "groupTitle": "Square_Reports"
25233 "url": "/api/square/reports/{id}",
25234 "title": "Gets a single Square Report",
25237 "title": "Example usage:",
25238 "content": "curl https://{domain}/api/square/reports/{id} -v -u {name}:{password}",
25242 "name": "ShowSquare_Reports",
25243 "group": "Square_Reports",
25244 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25245 "version": "0.0.0",
25246 "filename": "server/api/squareReport/index.js",
25247 "groupTitle": "Square_Reports"
25251 "url": "/api/square/reports/{id}",
25252 "title": "Update an existing Square Report",
25255 "title": "Example usage:",
25256 "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",
25260 "name": "updateSquare_Reports",
25261 "group": "Square_Reports",
25262 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25263 "version": "0.0.0",
25264 "filename": "server/api/squareReport/index.js",
25265 "groupTitle": "Square_Reports"
25269 "url": "/api/integrations/sugarcrm/configurations",
25270 "title": "Creates a new SugarCRM Configuration",
25273 "title": "Example usage:",
25274 "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",
25278 "name": "CreateSugarCRM_Configurations",
25279 "group": "SugarCRM_Configurations",
25294 "field": "description",
25300 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25301 "version": "0.0.0",
25302 "filename": "server/api/intSugarcrmConfiguration/index.js",
25303 "groupTitle": "SugarCRM_Configurations"
25307 "url": "/api/integrations/sugarcrm/configurations/{id}",
25308 "title": "Deletes a SugarCRM Configuration",
25311 "title": "Example usage:",
25312 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id} -v -u {name}:{password} -X DELETE",
25316 "name": "DeleteSugarCRM_Configurations",
25317 "group": "SugarCRM_Configurations",
25318 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25319 "version": "0.0.0",
25320 "filename": "server/api/intSugarcrmConfiguration/index.js",
25321 "groupTitle": "SugarCRM_Configurations"
25325 "url": "/api/integrations/sugarcrm/configurations",
25326 "title": "Gets a list of SugarCRM Configurations",
25329 "title": "Example usage:",
25330 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations -v -u {name}:{password}",
25334 "name": "GetSugarCRM_Configurations",
25335 "group": "SugarCRM_Configurations",
25336 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25337 "version": "0.0.0",
25338 "filename": "server/api/intSugarcrmConfiguration/index.js",
25339 "groupTitle": "SugarCRM_Configurations"
25343 "url": "/api/integrations/sugarcrm/configurations/{id}",
25344 "title": "Gets a single SugarCRM Configuration",
25347 "title": "Example usage:",
25348 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id} -v -u {name}:{password}",
25352 "name": "ShowSugarCRM_Configurations",
25353 "group": "SugarCRM_Configurations",
25354 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25355 "version": "0.0.0",
25356 "filename": "server/api/intSugarcrmConfiguration/index.js",
25357 "groupTitle": "SugarCRM_Configurations"
25361 "url": "/api/integrations/sugarcrm/configurations/{id}",
25362 "title": "Update an existing SugarCRM Configuration",
25365 "title": "Example usage:",
25366 "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",
25370 "name": "updateSugarCRM_Configurations",
25371 "group": "SugarCRM_Configurations",
25372 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25373 "version": "0.0.0",
25374 "filename": "server/api/intSugarcrmConfiguration/index.js",
25375 "groupTitle": "SugarCRM_Configurations"
25379 "url": "/api/integrations/sugarcrm/accounts",
25380 "title": "Creates a new Sugarcrm Account",
25383 "title": "Example usage:",
25384 "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",
25388 "name": "CreateSugarcrm_Accounts",
25389 "group": "Sugarcrm_Accounts",
25404 "field": "description",
25411 "field": "username",
25418 "field": "password",
25425 "field": "remoteUri",
25432 "field": "serverUrl",
25438 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25439 "version": "0.0.0",
25440 "filename": "server/api/intSugarcrmAccount/index.js",
25441 "groupTitle": "Sugarcrm_Accounts"
25445 "url": "/api/integrations/sugarcrm/accounts/{id}",
25446 "title": "Deletes a Sugarcrm Account",
25449 "title": "Example usage:",
25450 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id} -v -u {name}:{password} -X DELETE",
25454 "name": "DeleteSugarcrm_Accounts",
25455 "group": "Sugarcrm_Accounts",
25456 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25457 "version": "0.0.0",
25458 "filename": "server/api/intSugarcrmAccount/index.js",
25459 "groupTitle": "Sugarcrm_Accounts"
25463 "url": "/api/integrations/sugarcrm/accounts",
25464 "title": "Gets a list of Sugarcrm Accounts",
25467 "title": "Example usage:",
25468 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts -v -u {name}:{password}",
25472 "name": "GetSugarcrm_Accounts",
25473 "group": "Sugarcrm_Accounts",
25474 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25475 "version": "0.0.0",
25476 "filename": "server/api/intSugarcrmAccount/index.js",
25477 "groupTitle": "Sugarcrm_Accounts"
25481 "url": "/api/integrations/sugarcrm/accounts/{id}",
25482 "title": "Gets a single Sugarcrm Account",
25485 "title": "Example usage:",
25486 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id} -v -u {name}:{password}",
25490 "name": "ShowSugarcrm_Accounts",
25491 "group": "Sugarcrm_Accounts",
25492 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25493 "version": "0.0.0",
25494 "filename": "server/api/intSugarcrmAccount/index.js",
25495 "groupTitle": "Sugarcrm_Accounts"
25499 "url": "/api/integrations/sugarcrm/accounts/{id}/configurations",
25500 "title": "Creates new configuration",
25503 "title": "Example usage:",
25504 "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",
25508 "name": "addConfiguration",
25509 "group": "Sugarcrm_Accounts",
25510 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25511 "version": "0.0.0",
25512 "filename": "server/api/intSugarcrmAccount/index.js",
25513 "groupTitle": "Sugarcrm_Accounts"
25517 "url": "/api/integrations/sugarcrm/accounts/{id}/configurations",
25518 "title": "Gets account configurations",
25521 "title": "Example usage:",
25522 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id}/configurations -v -u {name}:{password} -X GET",
25526 "name": "getConfigurations",
25527 "group": "Sugarcrm_Accounts",
25528 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25529 "version": "0.0.0",
25530 "filename": "server/api/intSugarcrmAccount/index.js",
25531 "groupTitle": "Sugarcrm_Accounts"
25535 "url": "/api/integrations/sugarcrm/accounts/{id}/fields",
25536 "title": "Gets account fields",
25539 "title": "Example usage:",
25540 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id}/fields -v -u {name}:{password} -X GET",
25544 "name": "getFields",
25545 "group": "Sugarcrm_Accounts",
25546 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25547 "version": "0.0.0",
25548 "filename": "server/api/intSugarcrmAccount/index.js",
25549 "groupTitle": "Sugarcrm_Accounts"
25553 "url": "/api/integrations/sugarcrm/accounts/{id}",
25554 "title": "Update an existing Sugarcrm Account",
25557 "title": "Example usage:",
25558 "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",
25562 "name": "updateSugarcrm_Accounts",
25563 "group": "Sugarcrm_Accounts",
25564 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25565 "version": "0.0.0",
25566 "filename": "server/api/intSugarcrmAccount/index.js",
25567 "groupTitle": "Sugarcrm_Accounts"
25571 "url": "/api/integrations/sugarcrm/configurations/{id}/descriptions",
25572 "title": "Gets configurations descriptions",
25575 "title": "Example usage:",
25576 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
25580 "name": "getDescriptions",
25581 "group": "Sugarcrm_Configurations",
25582 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25583 "version": "0.0.0",
25584 "filename": "server/api/intSugarcrmConfiguration/index.js",
25585 "groupTitle": "Sugarcrm_Configurations"
25589 "url": "/api/integrations/sugarcrm/configurations/{id}/fields",
25590 "title": "Gets configurations fields",
25593 "title": "Example usage:",
25594 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/fields -v -u {name}:{password} -X GET",
25598 "name": "getFields",
25599 "group": "Sugarcrm_Configurations",
25600 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25601 "version": "0.0.0",
25602 "filename": "server/api/intSugarcrmConfiguration/index.js",
25603 "groupTitle": "Sugarcrm_Configurations"
25607 "url": "/api/integrations/sugarcrm/configurations/{id}/subjects",
25608 "title": "Gets configurations subjects",
25611 "title": "Example usage:",
25612 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/subjects -v -u {name}:{password} -X GET",
25616 "name": "getSubjects",
25617 "group": "Sugarcrm_Configurations",
25618 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25619 "version": "0.0.0",
25620 "filename": "server/api/intSugarcrmConfiguration/index.js",
25621 "groupTitle": "Sugarcrm_Configurations"
25625 "url": "/api/integrations/sugarcrm/fields",
25626 "title": "Creates a new Sugarcrm Field",
25629 "title": "Example usage:",
25630 "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",
25634 "name": "CreateSugarcrm_Fields",
25635 "group": "Sugarcrm_Fields",
25645 "\"customVariable\"",
25656 "field": "content",
25672 "\"customVariable\""
25675 "field": "keyType",
25682 "field": "keyContent",
25689 "field": "idField",
25696 "field": "nameField",
25703 "field": "customField",
25710 "field": "variableName",
25716 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25717 "version": "0.0.0",
25718 "filename": "server/api/intSugarcrmField/index.js",
25719 "groupTitle": "Sugarcrm_Fields"
25723 "url": "/api/integrations/sugarcrm/fields/{id}",
25724 "title": "Deletes a Sugarcrm Field",
25727 "title": "Example usage:",
25728 "content": "curl https://{domain}/api/integrations/sugarcrm/fields/{id} -v -u {name}:{password} -X DELETE",
25732 "name": "DeleteSugarcrm_Fields",
25733 "group": "Sugarcrm_Fields",
25734 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25735 "version": "0.0.0",
25736 "filename": "server/api/intSugarcrmField/index.js",
25737 "groupTitle": "Sugarcrm_Fields"
25741 "url": "/api/integrations/sugarcrm/fields",
25742 "title": "Gets a list of Sugarcrm Fields",
25745 "title": "Example usage:",
25746 "content": "curl https://{domain}/api/integrations/sugarcrm/fields -v -u {name}:{password}",
25750 "name": "GetSugarcrm_Fields",
25751 "group": "Sugarcrm_Fields",
25752 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25753 "version": "0.0.0",
25754 "filename": "server/api/intSugarcrmField/index.js",
25755 "groupTitle": "Sugarcrm_Fields"
25759 "url": "/api/integrations/sugarcrm/fields/{id}",
25760 "title": "Gets a single Sugarcrm Field",
25763 "title": "Example usage:",
25764 "content": "curl https://{domain}/api/integrations/sugarcrm/fields/{id} -v -u {name}:{password}",
25768 "name": "ShowSugarcrm_Fields",
25769 "group": "Sugarcrm_Fields",
25770 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25771 "version": "0.0.0",
25772 "filename": "server/api/intSugarcrmField/index.js",
25773 "groupTitle": "Sugarcrm_Fields"
25777 "url": "/api/integrations/sugarcrm/fields/{id}",
25778 "title": "Update an existing Sugarcrm Field",
25781 "title": "Example usage:",
25782 "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",
25786 "name": "updateSugarcrm_Fields",
25787 "group": "Sugarcrm_Fields",
25788 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25789 "version": "0.0.0",
25790 "filename": "server/api/intSugarcrmField/index.js",
25791 "groupTitle": "Sugarcrm_Fields"
25795 "url": "/api/system",
25796 "title": "Gets system information",
25799 "title": "Example usage:",
25800 "content": "curl https://{domain}/api/system -v -u {name}:{password}",
25804 "name": "GetSystemInformation",
25805 "group": "System_Information",
25806 "description": "<p>Motion returns the system information.</p>",
25807 "version": "0.0.0",
25808 "filename": "server/api/system/index.js",
25809 "groupTitle": "System_Information"
25813 "url": "/api/system/process",
25814 "title": "Gets system information",
25817 "title": "Example usage:",
25818 "content": "curl https://{domain}/api/system -v -u {name}:{password}",
25822 "name": "GetSystemInformation",
25823 "group": "System_Information",
25824 "description": "<p>Motion returns the system information.</p>",
25825 "version": "0.0.0",
25826 "filename": "server/api/system/index.js",
25827 "groupTitle": "System_Information"
25831 "url": "/api/tags",
25832 "title": "Creates a new Tag",
25835 "title": "Example usage:",
25836 "content": "curl https://{domain}/api/tags -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25840 "name": "CreateTags",
25863 "field": "description",
25869 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25870 "version": "0.0.0",
25871 "filename": "server/api/tag/index.js",
25872 "groupTitle": "Tags"
25876 "url": "/api/tags/{id}",
25877 "title": "Deletes a Tag",
25880 "title": "Example usage:",
25881 "content": "curl https://{domain}/api/tags/{id} -v -u {name}:{password} -X DELETE",
25885 "name": "DeleteTags",
25887 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25888 "version": "0.0.0",
25889 "filename": "server/api/tag/index.js",
25890 "groupTitle": "Tags"
25894 "url": "/api/tags",
25895 "title": "Gets a list of Tags",
25898 "title": "Example usage:",
25899 "content": "curl https://{domain}/api/tags -v -u {name}:{password}",
25905 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
25906 "version": "0.0.0",
25907 "filename": "server/api/tag/index.js",
25908 "groupTitle": "Tags"
25912 "url": "/api/tags/{id}",
25913 "title": "Gets a single Tag",
25916 "title": "Example usage:",
25917 "content": "curl https://{domain}/api/tags/{id} -v -u {name}:{password}",
25921 "name": "ShowTags",
25923 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25924 "version": "0.0.0",
25925 "filename": "server/api/tag/index.js",
25926 "groupTitle": "Tags"
25930 "url": "/api/tags/{id}",
25931 "title": "Update an existing Tag",
25934 "title": "Example usage:",
25935 "content": "curl https://{domain}/api/tags/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
25939 "name": "updateTags",
25941 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25942 "version": "0.0.0",
25943 "filename": "server/api/tag/index.js",
25944 "groupTitle": "Tags"
25948 "url": "/api/teams/{id}/queues",
25949 "title": "Add queues to a team",
25952 "title": "Example usage:",
25953 "content": "curl https://{domain}/api/teams/{id}/queues -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
25957 "name": "AddQueues",
25959 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25960 "version": "0.0.0",
25961 "filename": "server/api/team/index.js",
25962 "groupTitle": "Teams"
25966 "url": "/api/teams",
25967 "title": "Creates a new Team",
25970 "title": "Example usage:",
25971 "content": "curl https://{domain}/api/teams -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25975 "name": "CreateTeams",
25991 "field": "description",
25997 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25998 "version": "0.0.0",
25999 "filename": "server/api/team/index.js",
26000 "groupTitle": "Teams"
26004 "url": "/api/teams/{id}",
26005 "title": "Deletes a Team",
26008 "title": "Example usage:",
26009 "content": "curl https://{domain}/api/teams/{id} -v -u {name}:{password} -X DELETE",
26013 "name": "DeleteTeams",
26015 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26016 "version": "0.0.0",
26017 "filename": "server/api/team/index.js",
26018 "groupTitle": "Teams"
26022 "url": "/api/teams/{id}/users",
26023 "title": "Gets agents from team",
26026 "title": "Example usage:",
26027 "content": "curl https://{domain}/api/teams/{id}/users -v -u {name}:{password} -X GET",
26031 "name": "GetAgents",
26033 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26034 "version": "0.0.0",
26035 "filename": "server/api/team/index.js",
26036 "groupTitle": "Teams"
26040 "url": "/api/teams/{id}/queues?channel={channel}",
26041 "title": "Gets Queues list",
26044 "title": "Example usage:",
26045 "content": "curl https://{domain}/api/teams/{id}/queues?channel={channel} -v -u {name}:{password}",
26049 "name": "GetQueues",
26051 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26052 "version": "0.0.0",
26053 "filename": "server/api/team/index.js",
26054 "groupTitle": "Teams"
26058 "url": "/api/teams",
26059 "title": "Gets a list of Teams",
26062 "title": "Example usage:",
26063 "content": "curl https://{domain}/api/teams -v -u {name}:{password}",
26067 "name": "GetTeams",
26069 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
26070 "version": "0.0.0",
26071 "filename": "server/api/team/index.js",
26072 "groupTitle": "Teams"
26076 "url": "/api/teams/{id}/users",
26077 "title": "Removes agents from a team",
26080 "title": "Example usage:",
26081 "content": "curl https://{domain}/api/teams/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
26085 "name": "RemoveAgents",
26087 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26088 "version": "0.0.0",
26089 "filename": "server/api/team/index.js",
26090 "groupTitle": "Teams"
26094 "url": "/api/teams/{id}/queues",
26095 "title": "Remove queues to a team",
26098 "title": "Example usage:",
26099 "content": "curl https://{domain}/api/teams/{id}/queues?channel=voice&ids=1&ids=2 -v -u {name}:{password} -X DELETE",
26103 "name": "RemoveQueues",
26105 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26106 "version": "0.0.0",
26107 "filename": "server/api/team/index.js",
26108 "groupTitle": "Teams"
26112 "url": "/api/whatsapp/queues/{id}/teams",
26113 "title": "Remove teams from a queue",
26116 "title": "Example usage:",
26117 "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26121 "name": "RemoveTeams",
26123 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26124 "version": "0.0.0",
26125 "filename": "server/api/whatsappQueue/index.js",
26126 "groupTitle": "Teams"
26130 "url": "/api/openchannel/queues/{id}/teams",
26131 "title": "Remove teams from a queue",
26134 "title": "Example usage:",
26135 "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26139 "name": "RemoveTeams",
26141 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26142 "version": "0.0.0",
26143 "filename": "server/api/openchannelQueue/index.js",
26144 "groupTitle": "Teams"
26148 "url": "/api/voice/queues/{id}/teams",
26149 "title": "Remove teams from a queue",
26152 "title": "Example usage:",
26153 "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26157 "name": "RemoveTeams",
26159 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26160 "version": "0.0.0",
26161 "filename": "server/api/voiceQueue/index.js",
26162 "groupTitle": "Teams"
26166 "url": "/api/sms/queues/{id}/teams",
26167 "title": "Remove teams from a queue",
26170 "title": "Example usage:",
26171 "content": "curl https://{domain}/api/sms/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26175 "name": "RemoveTeams",
26177 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26178 "version": "0.0.0",
26179 "filename": "server/api/smsQueue/index.js",
26180 "groupTitle": "Teams"
26184 "url": "/api/chat/queues/{id}/teams",
26185 "title": "Remove teams from a queue",
26188 "title": "Example usage:",
26189 "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26193 "name": "RemoveTeams",
26195 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26196 "version": "0.0.0",
26197 "filename": "server/api/chatQueue/index.js",
26198 "groupTitle": "Teams"
26202 "url": "/api/mail/queues/{id}/teams",
26203 "title": "Remove teams from a queue",
26206 "title": "Example usage:",
26207 "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26211 "name": "RemoveTeams",
26213 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26214 "version": "0.0.0",
26215 "filename": "server/api/mailQueue/index.js",
26216 "groupTitle": "Teams"
26220 "url": "/api/fax/queues/{id}/teams",
26221 "title": "Remove teams from a queue",
26224 "title": "Example usage:",
26225 "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26229 "name": "RemoveTeams",
26231 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26232 "version": "0.0.0",
26233 "filename": "server/api/faxQueue/index.js",
26234 "groupTitle": "Teams"
26238 "url": "/api/teams/{id}",
26239 "title": "Gets a single Team",
26242 "title": "Example usage:",
26243 "content": "curl https://{domain}/api/teams/{id} -v -u {name}:{password}",
26247 "name": "ShowTeams",
26249 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26250 "version": "0.0.0",
26251 "filename": "server/api/team/index.js",
26252 "groupTitle": "Teams"
26256 "url": "/api/teams/{id}/users",
26257 "title": "Adds agents to a team",
26260 "title": "Example usage:",
26261 "content": "curl https://{domain}/api/teams/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
26265 "name": "addAgents",
26267 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26268 "version": "0.0.0",
26269 "filename": "server/api/team/index.js",
26270 "groupTitle": "Teams"
26274 "url": "/api/teams/{id}",
26275 "title": "Update an existing Team",
26278 "title": "Example usage:",
26279 "content": "curl https://{domain}/api/teams/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26283 "name": "updateTeams",
26285 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26286 "version": "0.0.0",
26287 "filename": "server/api/team/index.js",
26288 "groupTitle": "Teams"
26292 "url": "/api/templates",
26293 "title": "Creates a new Template",
26296 "title": "Example usage:",
26297 "content": "curl https://{domain}/api/templates -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26301 "name": "CreateTemplates",
26302 "group": "Templates",
26317 "field": "description",
26330 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26331 "version": "0.0.0",
26332 "filename": "server/api/template/index.js",
26333 "groupTitle": "Templates"
26337 "url": "/api/templates/{id}",
26338 "title": "Deletes a Template",
26341 "title": "Example usage:",
26342 "content": "curl https://{domain}/api/templates/{id} -v -u {name}:{password} -X DELETE",
26346 "name": "DeleteTemplates",
26347 "group": "Templates",
26348 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26349 "version": "0.0.0",
26350 "filename": "server/api/template/index.js",
26351 "groupTitle": "Templates"
26355 "url": "/api/templates",
26356 "title": "Gets a list of Templates",
26359 "title": "Example usage:",
26360 "content": "curl https://{domain}/api/templates -v -u {name}:{password}",
26364 "name": "GetTemplates",
26365 "group": "Templates",
26366 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
26367 "version": "0.0.0",
26368 "filename": "server/api/template/index.js",
26369 "groupTitle": "Templates"
26373 "url": "/api/templates/{id}",
26374 "title": "Gets a single Template",
26377 "title": "Example usage:",
26378 "content": "curl https://{domain}/api/templates/{id} -v -u {name}:{password}",
26382 "name": "ShowTemplates",
26383 "group": "Templates",
26384 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26385 "version": "0.0.0",
26386 "filename": "server/api/template/index.js",
26387 "groupTitle": "Templates"
26391 "url": "/api/templates/{id}",
26392 "title": "Update an existing Template",
26395 "title": "Example usage:",
26396 "content": "curl https://{domain}/api/templates/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26400 "name": "updateTemplates",
26401 "group": "Templates",
26402 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26403 "version": "0.0.0",
26404 "filename": "server/api/template/index.js",
26405 "groupTitle": "Templates"
26409 "url": "/api/triggers",
26410 "title": "Creates a new Trigger",
26413 "title": "Example usage:",
26414 "content": "curl https://{domain}/api/triggers -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26418 "name": "CreateTriggers",
26419 "group": "Triggers",
26434 "field": "channel",
26441 "field": "description",
26454 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26455 "version": "0.0.0",
26456 "filename": "server/api/trigger/index.js",
26457 "groupTitle": "Triggers"
26461 "url": "/api/triggers/{id}",
26462 "title": "Deletes a Trigger",
26465 "title": "Example usage:",
26466 "content": "curl https://{domain}/api/triggers/{id} -v -u {name}:{password} -X DELETE",
26470 "name": "DeleteTriggers",
26471 "group": "Triggers",
26472 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26473 "version": "0.0.0",
26474 "filename": "server/api/trigger/index.js",
26475 "groupTitle": "Triggers"
26479 "url": "/api/triggers",
26480 "title": "Gets a list of Triggers",
26483 "title": "Example usage:",
26484 "content": "curl https://{domain}/api/triggers -v -u {name}:{password}",
26488 "name": "GetTriggers",
26489 "group": "Triggers",
26490 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
26491 "version": "0.0.0",
26492 "filename": "server/api/trigger/index.js",
26493 "groupTitle": "Triggers"
26497 "url": "/api/triggers/{id}",
26498 "title": "Gets a single Trigger",
26501 "title": "Example usage:",
26502 "content": "curl https://{domain}/api/triggers/{id} -v -u {name}:{password}",
26506 "name": "ShowTriggers",
26507 "group": "Triggers",
26508 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26509 "version": "0.0.0",
26510 "filename": "server/api/trigger/index.js",
26511 "groupTitle": "Triggers"
26515 "url": "/api/triggers/{id}/actions",
26516 "title": "Creates new actions",
26519 "title": "Example usage:",
26520 "content": "curl https://{domain}/api/triggers/{id}/actions -d '{\"action\": \"contactManager\",\"data1\": \"1\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
26524 "name": "addAction",
26525 "group": "Triggers",
26541 "description": "<p>Allowed values: contactManager, integration, motionbar, jscripty, urlForward, browser, bot, script</p>"
26548 "description": "<p>contactManager[ListId], integration[intName(zendesk)], motionbar[Popup(0),URL(1),WinApp(2)], urlForward[GET,POST], browser[TemplateId(0),URL(1)]</p>"
26555 "description": "<p>integration[AccountId], motionbar[TemplateId,URL,WinAppPath], urlForward[URL]</p>"
26562 "description": "<p>motionbar[NULL,NULL,WinAppArguments]</p>"
26595 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26596 "version": "0.0.0",
26597 "filename": "server/api/trigger/index.js",
26598 "groupTitle": "Triggers"
26602 "url": "/api/triggers/{id}/all_conditions",
26603 "title": "Creates a new \"AND\"condition",
26606 "title": "Example usage:",
26607 "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",
26611 "name": "addAllCondition",
26612 "group": "Triggers",
26634 "field": "operator",
26647 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26648 "version": "0.0.0",
26649 "filename": "server/api/trigger/index.js",
26650 "groupTitle": "Triggers"
26654 "url": "/api/triggers/{id}/any_conditions",
26655 "title": "Creates a new \"OR\"condition",
26658 "title": "Example usage:",
26659 "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",
26663 "name": "addAnyCondition",
26664 "group": "Triggers",
26686 "field": "operator",
26699 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26700 "version": "0.0.0",
26701 "filename": "server/api/trigger/index.js",
26702 "groupTitle": "Triggers"
26706 "url": "/api/triggers/{id}/actions",
26707 "title": "Gets Trigger Actions",
26710 "title": "Example usage:",
26711 "content": "curl https://{domain}/api/triggers/{id}/actions -v -u {name}:{password} -X GET",
26715 "name": "getActions",
26716 "group": "Triggers",
26717 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26718 "version": "0.0.0",
26719 "filename": "server/api/trigger/index.js",
26720 "groupTitle": "Triggers"
26724 "url": "/api/triggers/{id}/all_conditions",
26725 "title": "Gets \"AND\" Trigger Conditions",
26728 "title": "Example usage:",
26729 "content": "curl https://{domain}/api/triggers/{id}/all_conditions -v -u {name}:{password} -X GET",
26733 "name": "getAllConditions",
26734 "group": "Triggers",
26735 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26736 "version": "0.0.0",
26737 "filename": "server/api/trigger/index.js",
26738 "groupTitle": "Triggers"
26742 "url": "/api/triggers/{id}/any_conditions",
26743 "title": "Gets \"OR\" Trigger Conditions",
26746 "title": "Example usage:",
26747 "content": "curl https://{domain}/api/triggers/{id}/any_conditions -v -u {name}:{password} -X GET",
26751 "name": "getAnyConditions",
26752 "group": "Triggers",
26753 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26754 "version": "0.0.0",
26755 "filename": "server/api/trigger/index.js",
26756 "groupTitle": "Triggers"
26760 "url": "/api/triggers/{id}",
26761 "title": "Update an existing Trigger",
26764 "title": "Example usage:",
26765 "content": "curl https://{domain}/api/triggers/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26769 "name": "updateTriggers",
26770 "group": "Triggers",
26771 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26772 "version": "0.0.0",
26773 "filename": "server/api/trigger/index.js",
26774 "groupTitle": "Triggers"
26778 "url": "/api/trunks/clone",
26779 "title": "Clone an existing Trunk",
26782 "title": "Example usage:",
26783 "content": "curl https://{domain}/api/trunks/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26787 "name": "CloneTrunks",
26789 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26790 "version": "0.0.0",
26791 "filename": "server/api/trunk/index.js",
26792 "groupTitle": "Trunks"
26796 "url": "/api/trunks",
26797 "title": "Create a new trunk",
26800 "title": "Example usage:",
26801 "content": "curl https://{domain}/api/trunks -v -u {name}:{password} -X POST",
26833 "field": "context",
26840 "\"ALLOWED_NOT_SCREENED\"",
26841 "\"ALLOWED_PASSED_SCREEN\"",
26842 "\"ALLOWED_FAILED_SCREEN\"",
26844 "\"PROHIB_NOT_SCREENED\"",
26845 "\"PROHIB_PASSED_SCREEN\"",
26846 "\"PROHIB_FAILED_SCREEN\"",
26850 "field": "callingpres",
26878 "field": "md5secret",
26885 "field": "remotesecret",
26892 "field": "transport",
26893 "description": "<p>String is deprecated. Please use an Array as ["udp", "tcp"]</p>"
26906 "field": "dtmfmode",
26920 "field": "directmedia",
26931 "field": "directrtpsetup",
26938 "field": "directmediapermit",
26945 "field": "directmediadeny",
26953 "description": "<p>String is deprecated. Please use an Array as ["force_rport", "comedia"]</p>"
26959 "field": "callgroup",
26966 "field": "namedcallgroup",
26973 "field": "pickupgroup",
26980 "field": "namedpickupgroup",
26987 "field": "language",
26994 "field": "tonezone",
27001 "field": "disallow",
27009 "description": "<p>String is deprecated. Please use an Array as ["ulaw", "alaw", "alaw"]</p>"
27019 "field": "autoframing",
27026 "field": "insecure",
27027 "description": "<p>String is deprecated. Please use an Array as ["port", "invite"]</p>"
27037 "field": "trustrpid",
27048 "field": "trust_id_outbound",
27060 "field": "progressinband",
27071 "field": "promiscredir",
27082 "field": "useclientcode",
27089 "field": "accountcode",
27103 "field": "callerid",
27110 "field": "amaflags",
27121 "field": "callcounter",
27128 "field": "busylevel",
27139 "field": "allowoverlap",
27150 "field": "allowsubscribe",
27161 "field": "allowtransfer",
27172 "field": "ignoresdpversion",
27179 "field": "subscribecontext",
27186 "field": "template",
27198 "field": "videosupport",
27205 "field": "maxcallbitrate",
27216 "field": "rfc2833compensate",
27223 "field": "mailbox",
27235 "field": "session_timers",
27242 "field": "session_expires",
27249 "field": "session_minse",
27260 "field": "session_refresher",
27267 "field": "t38pt_usertpsource",
27274 "field": "regexten",
27281 "field": "fromdomain",
27288 "field": "fromuser",
27306 "field": "qualify",
27313 "field": "keepalive",
27320 "field": "defaultip",
27327 "field": "defaultuser",
27334 "field": "rtptimeout",
27341 "field": "rtpholdtimeout",
27348 "field": "rtpkeepalive",
27360 "field": "sendrpid",
27367 "field": "outboundproxy",
27374 "field": "callbackextension",
27381 "field": "timert1",
27395 "field": "qualifyfreq",
27402 "field": "contactpermit",
27409 "field": "contactdeny",
27416 "field": "contactacl",
27423 "field": "unsolicited_mailbox",
27430 "field": "use_q850_reason",
27437 "field": "maxforwards",
27448 "field": "encryption",
27470 "field": "force_avp",
27481 "field": "icesupport",
27492 "field": "dtlsenable",
27505 "field": "dtlsverify",
27512 "field": "dtlsrekey",
27519 "field": "dtlscertfile",
27526 "field": "dtlsprivatekey",
27533 "field": "dtlscipher",
27540 "field": "dtlscafile",
27547 "field": "dtlscapath",
27559 "field": "dtlssetup",
27566 "field": "dtlsfingerprint",
27577 "field": "usereqphone",
27584 "field": "recordonfeature",
27591 "field": "recordofffeature",
27598 "field": "call_limit",
27609 "field": "registertrying",
27620 "field": "subscribemwi",
27627 "field": "vmexten",
27634 "field": "mohinterpret",
27641 "field": "mohsuggest",
27648 "field": "parkinglot",
27655 "field": "description",
27676 "field": "canreinvite",
27683 "field": "registry",
27690 "field": "otherFields",
27704 "field": "t38pt_udptl",
27710 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27711 "version": "0.0.0",
27712 "filename": "server/api/trunk/index.js",
27713 "groupTitle": "Trunks"
27717 "url": "/api/trunks/{id}",
27718 "title": "Deletes a trunk",
27721 "title": "Example usage:",
27722 "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password} -X DELETE",
27728 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27729 "version": "0.0.0",
27730 "filename": "server/api/trunk/index.js",
27731 "groupTitle": "Trunks"
27735 "url": "/api/trunks",
27736 "title": "Gets a list of Trunks",
27739 "title": "Example usage:",
27740 "content": "curl https://{domain}/api/trunks -v -u {name}:{password}",
27744 "name": "GetTrunks",
27746 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
27747 "version": "0.0.0",
27748 "filename": "server/api/trunk/index.js",
27749 "groupTitle": "Trunks"
27753 "url": "/api/trunks/{id}",
27754 "title": "Gets a single Trunk",
27757 "title": "Example usage:",
27758 "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password}",
27762 "name": "ShowTrunks",
27764 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27765 "version": "0.0.0",
27766 "filename": "server/api/trunk/index.js",
27767 "groupTitle": "Trunks"
27771 "url": "/api/trunks/{id}",
27772 "title": "Update an existing trunk",
27775 "title": "Example usage:",
27776 "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password} -X PUT",
27782 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27783 "version": "0.0.0",
27784 "filename": "server/api/trunk/index.js",
27785 "groupTitle": "Trunks"
27789 "url": "/api/userProfile/resources",
27790 "title": "Creates a new User Profile Resource",
27793 "title": "Example usage:",
27794 "content": "curl https://{domain}/api/userProfile/resources -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27798 "name": "CreateUser_Profile_Resources",
27799 "group": "User_Profile_Resources",
27814 "field": "resourceId",
27827 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27828 "version": "0.0.0",
27829 "filename": "server/api/userProfileResource/index.js",
27830 "groupTitle": "User_Profile_Resources"
27834 "url": "/api/userProfile/resources/{id}",
27835 "title": "Deletes a User Profile Resource",
27838 "title": "Example usage:",
27839 "content": "curl https://{domain}/api/userProfile/resources/{id} -v -u {name}:{password} -X DELETE",
27843 "name": "DeleteUser_Profile_Resources",
27844 "group": "User_Profile_Resources",
27845 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27846 "version": "0.0.0",
27847 "filename": "server/api/userProfileResource/index.js",
27848 "groupTitle": "User_Profile_Resources"
27852 "url": "/api/userProfile/resources/describe",
27853 "title": "Gets table info about User Profile Resources",
27856 "title": "Example usage:",
27857 "content": "curl https://{domain}/api/userProfile/resources/describe -v -u {name}:{password}",
27861 "name": "DescribeUser_Profile_Resources",
27862 "group": "User_Profile_Resources",
27863 "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>",
27864 "version": "0.0.0",
27865 "filename": "server/api/userProfileResource/index.js",
27866 "groupTitle": "User_Profile_Resources"
27870 "url": "/api/userProfile/resources",
27871 "title": "Gets a list of User Profile Resources",
27874 "title": "Example usage:",
27875 "content": "curl https://{domain}/api/userProfile/resources -v -u {name}:{password}",
27879 "name": "GetUser_Profile_Resources",
27880 "group": "User_Profile_Resources",
27881 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
27882 "version": "0.0.0",
27883 "filename": "server/api/userProfileResource/index.js",
27884 "groupTitle": "User_Profile_Resources"
27888 "url": "/api/userProfile/resources/{id}",
27889 "title": "Gets a single User Profile Resource",
27892 "title": "Example usage:",
27893 "content": "curl https://{domain}/api/userProfile/resources/{id} -v -u {name}:{password}",
27897 "name": "ShowUser_Profile_Resources",
27898 "group": "User_Profile_Resources",
27899 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27900 "version": "0.0.0",
27901 "filename": "server/api/userProfileResource/index.js",
27902 "groupTitle": "User_Profile_Resources"
27906 "url": "/api/userProfile/resources/{id}",
27907 "title": "Update an existing User Profile Resource",
27910 "title": "Example usage:",
27911 "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",
27915 "name": "updateUser_Profile_Resources",
27916 "group": "User_Profile_Resources",
27917 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27918 "version": "0.0.0",
27919 "filename": "server/api/userProfileResource/index.js",
27920 "groupTitle": "User_Profile_Resources"
27924 "url": "/api/userProfile/sections",
27925 "title": "Creates a new User Profile Section",
27928 "title": "Example usage:",
27929 "content": "curl https://{domain}/api/userProfile/sections -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27933 "name": "CreateUser_Profile_Sections",
27934 "group": "User_Profile_Sections",
27949 "field": "category",
27956 "field": "sectionId",
27963 "field": "enabled",
27970 "field": "autoAssociation",
27977 "field": "crudPermissions",
27983 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27984 "version": "0.0.0",
27985 "filename": "server/api/userProfileSection/index.js",
27986 "groupTitle": "User_Profile_Sections"
27990 "url": "/api/userProfile/sections/{id}",
27991 "title": "Deletes a User Profile Section",
27994 "title": "Example usage:",
27995 "content": "curl https://{domain}/api/userProfile/sections/{id} -v -u {name}:{password} -X DELETE",
27999 "name": "DeleteUser_Profile_Sections",
28000 "group": "User_Profile_Sections",
28001 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28002 "version": "0.0.0",
28003 "filename": "server/api/userProfileSection/index.js",
28004 "groupTitle": "User_Profile_Sections"
28008 "url": "/api/userProfile/sections/describe",
28009 "title": "Gets table info about User Profile Sections",
28012 "title": "Example usage:",
28013 "content": "curl https://{domain}/api/userProfile/sections/describe -v -u {name}:{password}",
28017 "name": "DescribeUser_Profile_Sections",
28018 "group": "User_Profile_Sections",
28019 "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>",
28020 "version": "0.0.0",
28021 "filename": "server/api/userProfileSection/index.js",
28022 "groupTitle": "User_Profile_Sections"
28026 "url": "/api/userProfile/sections",
28027 "title": "Gets a list of User Profile Sections",
28030 "title": "Example usage:",
28031 "content": "curl https://{domain}/api/userProfile/sections -v -u {name}:{password}",
28035 "name": "GetUser_Profile_Sections",
28036 "group": "User_Profile_Sections",
28037 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
28038 "version": "0.0.0",
28039 "filename": "server/api/userProfileSection/index.js",
28040 "groupTitle": "User_Profile_Sections"
28044 "url": "/api/userProfile/sections/{id}",
28045 "title": "Gets a single User Profile Section",
28048 "title": "Example usage:",
28049 "content": "curl https://{domain}/api/userProfile/sections/{id} -v -u {name}:{password}",
28053 "name": "ShowUser_Profile_Sections",
28054 "group": "User_Profile_Sections",
28055 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28056 "version": "0.0.0",
28057 "filename": "server/api/userProfileSection/index.js",
28058 "groupTitle": "User_Profile_Sections"
28062 "url": "/api/userProfile/sections/{id}",
28063 "title": "Update an existing User Profile Section",
28066 "title": "Example usage:",
28067 "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",
28071 "name": "updateUser_Profile_Sections",
28072 "group": "User_Profile_Sections",
28073 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28074 "version": "0.0.0",
28075 "filename": "server/api/userProfileSection/index.js",
28076 "groupTitle": "User_Profile_Sections"
28080 "url": "/api/userProfiles/{id}/resources",
28081 "title": "Add resources' permissions to User Profile",
28084 "title": "Example usage:",
28085 "content": "curl https://{domain}/api/userProfiles/{id}/resources -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28089 "name": "AddResources",
28090 "group": "User_Profiles",
28091 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28092 "version": "0.0.0",
28093 "filename": "server/api/userProfile/index.js",
28094 "groupTitle": "User_Profiles"
28098 "url": "/api/userProfiles/{id}/sections",
28099 "title": "Add sections' permissions to User Profile",
28102 "title": "Example usage:",
28103 "content": "curl https://{domain}/api/userProfiles/{id}/sections -d '[{\"sectionId\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28107 "name": "AddSections",
28108 "group": "User_Profiles",
28109 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28110 "version": "0.0.0",
28111 "filename": "server/api/userProfile/index.js",
28112 "groupTitle": "User_Profiles"
28116 "url": "/api/userProfiles/clone",
28117 "title": "Clone an existing User Profile",
28120 "title": "Example usage:",
28121 "content": "curl https://{domain}/api/userProfiles/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28125 "name": "CloneUser_Profiles",
28126 "group": "User_Profiles",
28127 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28128 "version": "0.0.0",
28129 "filename": "server/api/userProfile/index.js",
28130 "groupTitle": "User_Profiles"
28134 "url": "/api/userProfiles",
28135 "title": "Creates a new User Profile",
28138 "title": "Example usage:",
28139 "content": "curl https://{domain}/api/userProfiles -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28143 "name": "CreateUser_Profiles",
28144 "group": "User_Profiles",
28159 "field": "crudPermissions",
28166 "field": "description",
28172 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28173 "version": "0.0.0",
28174 "filename": "server/api/userProfile/index.js",
28175 "groupTitle": "User_Profiles"
28179 "url": "/api/userProfiles/{id}",
28180 "title": "Deletes a User Profile",
28183 "title": "Example usage:",
28184 "content": "curl https://{domain}/api/userProfiles/{id} -v -u {name}:{password} -X DELETE",
28188 "name": "DeleteUser_Profiles",
28189 "group": "User_Profiles",
28190 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28191 "version": "0.0.0",
28192 "filename": "server/api/userProfile/index.js",
28193 "groupTitle": "User_Profiles"
28197 "url": "/api/userProfiles/describe",
28198 "title": "Gets table info about User Profiles",
28201 "title": "Example usage:",
28202 "content": "curl https://{domain}/api/userProfiles/describe -v -u {name}:{password}",
28206 "name": "DescribeUser_Profiles",
28207 "group": "User_Profiles",
28208 "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>",
28209 "version": "0.0.0",
28210 "filename": "server/api/userProfile/index.js",
28211 "groupTitle": "User_Profiles"
28215 "url": "/api/userProfiles/{id}/resources?section={section}",
28216 "title": "Get Resources assigned to a Section",
28219 "title": "Example usage:",
28220 "content": "curl https://{domain}/api/userProfiles/{id}/resources?section={section} -v -u {name}:{password} -X GET",
28224 "name": "GetResources",
28225 "group": "User_Profiles",
28226 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28227 "version": "0.0.0",
28228 "filename": "server/api/userProfile/index.js",
28229 "groupTitle": "User_Profiles"
28233 "url": "/api/userProfiles/{id}/sections",
28234 "title": "Get sections associated to a User Profile",
28237 "title": "Example usage:",
28238 "content": "curl https://{domain}/api/userProfiles/{id}/sections -v -u {name}:{password} -X GET",
28242 "name": "GetSections",
28243 "group": "User_Profiles",
28244 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28245 "version": "0.0.0",
28246 "filename": "server/api/userProfile/index.js",
28247 "groupTitle": "User_Profiles"
28251 "url": "/api/userProfiles",
28252 "title": "Gets a list of User Profiles",
28255 "title": "Example usage:",
28256 "content": "curl https://{domain}/api/userProfiles -v -u {name}:{password}",
28260 "name": "GetUser_Profiles",
28261 "group": "User_Profiles",
28262 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
28263 "version": "0.0.0",
28264 "filename": "server/api/userProfile/index.js",
28265 "groupTitle": "User_Profiles"
28269 "url": "/api/userProfiles/{id}/resources",
28270 "title": "Removes resources' permissions from User Profile",
28273 "title": "Example usage:",
28274 "content": "curl https://{domain}/api/userProfiles/{id}/resources?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
28278 "name": "RemoveResources",
28279 "group": "User_Profiles",
28280 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28281 "version": "0.0.0",
28282 "filename": "server/api/userProfile/index.js",
28283 "groupTitle": "User_Profiles"
28287 "url": "/api/userProfiles/{id}/sections",
28288 "title": "Removes sections' permissions from User Profile",
28291 "title": "Example usage:",
28292 "content": "curl https://{domain}/api/userProfiles/{id}/sections?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
28296 "name": "RemoveSections",
28297 "group": "User_Profiles",
28298 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28299 "version": "0.0.0",
28300 "filename": "server/api/userProfile/index.js",
28301 "groupTitle": "User_Profiles"
28305 "url": "/api/userProfiles/{id}",
28306 "title": "Gets a single User Profile",
28309 "title": "Example usage:",
28310 "content": "curl https://{domain}/api/userProfiles/{id} -v -u {name}:{password}",
28314 "name": "ShowUser_Profiles",
28315 "group": "User_Profiles",
28316 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28317 "version": "0.0.0",
28318 "filename": "server/api/userProfile/index.js",
28319 "groupTitle": "User_Profiles"
28323 "url": "/api/userProfiles/{id}",
28324 "title": "Update an existing User Profile",
28327 "title": "Example usage:",
28328 "content": "curl https://{domain}/api/userProfiles/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
28332 "name": "updateUser_Profiles",
28333 "group": "User_Profiles",
28334 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28335 "version": "0.0.0",
28336 "filename": "server/api/userProfile/index.js",
28337 "groupTitle": "User_Profiles"
28341 "url": "/api/users/{id}/chat_interactions",
28342 "title": "Add chat interaction tabs to an agent",
28345 "title": "Example usage:",
28346 "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",
28350 "name": "AddChatInteractions",
28352 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28353 "version": "0.0.0",
28354 "filename": "server/api/user/index.js",
28355 "groupTitle": "Users"
28359 "url": "/api/users/{id}/chat_websites",
28360 "title": "Add a Chat Website to a user",
28363 "title": "Example usage:",
28364 "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",
28368 "name": "AddChatWebsites",
28370 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28371 "version": "0.0.0",
28372 "filename": "server/api/user/index.js",
28373 "groupTitle": "Users"
28377 "url": "/api/users/{id}/contacts",
28378 "title": "Add contacts to a user",
28381 "title": "Example usage:",
28382 "content": "curl https://{domain}/api/users/{id}/contacts -d '{\"ids\": [1,2]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28386 "name": "AddContacts",
28388 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28389 "version": "0.0.0",
28390 "filename": "server/api/user/index.js",
28391 "groupTitle": "Users"
28395 "url": "/api/users/{id}/fax_accounts",
28396 "title": "Add a Fax Account to a user",
28399 "title": "Example usage:",
28400 "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",
28404 "name": "AddFaxAccounts",
28406 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28407 "version": "0.0.0",
28408 "filename": "server/api/user/index.js",
28409 "groupTitle": "Users"
28413 "url": "/api/users/{id}/fax_interactions",
28414 "title": "Add fax interaction tabs to an agent",
28417 "title": "Example usage:",
28418 "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",
28422 "name": "AddFaxInteractions",
28424 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28425 "version": "0.0.0",
28426 "filename": "server/api/user/index.js",
28427 "groupTitle": "Users"
28431 "url": "/api/users/{id}/mail_accounts",
28432 "title": "Add a Mail Account to a user",
28435 "title": "Example usage:",
28436 "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",
28440 "name": "AddMailAccounts",
28442 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28443 "version": "0.0.0",
28444 "filename": "server/api/user/index.js",
28445 "groupTitle": "Users"
28449 "url": "/api/users/{id}/mail_interactions",
28450 "title": "Add mail interaction tabs to an agent",
28453 "title": "Example usage:",
28454 "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",
28458 "name": "AddMailInteractions",
28460 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28461 "version": "0.0.0",
28462 "filename": "server/api/user/index.js",
28463 "groupTitle": "Users"
28467 "url": "/api/users/{id}/openchannel_accounts",
28468 "title": "Add a Open Channel Account to a user",
28471 "title": "Example usage:",
28472 "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",
28476 "name": "AddOpenchannelAccounts",
28478 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28479 "version": "0.0.0",
28480 "filename": "server/api/user/index.js",
28481 "groupTitle": "Users"
28485 "url": "/api/users/{id}/openchannel_interactions",
28486 "title": "Add openchannel interaction tabs to an agent",
28489 "title": "Example usage:",
28490 "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",
28494 "name": "AddOpenchannelInteractions",
28496 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28497 "version": "0.0.0",
28498 "filename": "server/api/user/index.js",
28499 "groupTitle": "Users"
28503 "url": "/api/users/{id}/queues",
28504 "title": "Add queues to an agent",
28507 "title": "Example usage:",
28508 "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",
28512 "name": "AddQueues",
28514 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28515 "version": "0.0.0",
28516 "filename": "server/api/user/index.js",
28517 "groupTitle": "Users"
28521 "url": "/api/users/{id}/sms_accounts",
28522 "title": "Add a Sms Account to a user",
28525 "title": "Example usage:",
28526 "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",
28530 "name": "AddSmsAccounts",
28532 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28533 "version": "0.0.0",
28534 "filename": "server/api/user/index.js",
28535 "groupTitle": "Users"
28539 "url": "/api/users/{id}/sms_interactions",
28540 "title": "Add sms interaction tabs to an agent",
28543 "title": "Example usage:",
28544 "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",
28548 "name": "AddSmsInteractions",
28550 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28551 "version": "0.0.0",
28552 "filename": "server/api/user/index.js",
28553 "groupTitle": "Users"
28557 "url": "/api/users/{id}/square_projects",
28558 "title": "Add a Square Project to a user",
28561 "title": "Example usage:",
28562 "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",
28566 "name": "AddSquareProjects",
28568 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28569 "version": "0.0.0",
28570 "filename": "server/api/user/index.js",
28571 "groupTitle": "Users"
28575 "url": "/api/users/{id}/teams",
28576 "title": "Add teams to an agent",
28579 "title": "Example usage:",
28580 "content": "curl https://{domain}/api/users/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28584 "name": "AddTeams",
28586 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28587 "version": "0.0.0",
28588 "filename": "server/api/user/index.js",
28589 "groupTitle": "Users"
28593 "url": "/api/users/{id}/whatsapp_accounts",
28594 "title": "Add a Whatsapp Account to a user",
28597 "title": "Example usage:",
28598 "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",
28602 "name": "AddWhatsappAccounts",
28604 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28605 "version": "0.0.0",
28606 "filename": "server/api/user/index.js",
28607 "groupTitle": "Users"
28611 "url": "/api/users/{id}/whatsapp_interactions",
28612 "title": "Add Whatsapp interaction tabs to an agent",
28615 "title": "Example usage:",
28616 "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",
28620 "name": "AddWhatsappInteractions",
28622 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28623 "version": "0.0.0",
28624 "filename": "server/api/user/index.js",
28625 "groupTitle": "Users"
28629 "url": "/api/users/{id}/password",
28630 "title": "Change user password",
28633 "title": "Example usage:",
28634 "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",
28638 "name": "ChangePwd",
28640 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28641 "version": "0.0.0",
28642 "filename": "server/api/user/index.js",
28643 "groupTitle": "Users"
28647 "url": "/api/users",
28648 "title": "Create a new user",
28651 "title": "Example usage:",
28652 "content": "curl https://{domain}/api/users -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28658 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28659 "version": "0.0.0",
28660 "filename": "server/api/user/index.js",
28661 "groupTitle": "Users"
28665 "url": "/api/users/{id}/api_key",
28666 "title": "Create a new API access key for the user",
28669 "title": "Example usage:",
28670 "content": "curl https://{domain}/api/users/:id/api_key -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28674 "name": "CreateApiKey",
28676 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28677 "version": "0.0.0",
28678 "filename": "server/api/user/index.js",
28679 "groupTitle": "Users"
28683 "url": "/api/users/{id}",
28684 "title": "Deletes a user",
28687 "title": "Example usage:",
28688 "content": "curl https://{domain}/api/users/{id} -v -u {name}:{password} -X DELETE",
28694 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28695 "version": "0.0.0",
28696 "filename": "server/api/user/index.js",
28697 "groupTitle": "Users"
28701 "url": "/api/users/describe",
28702 "title": "Gets table info about Users",
28705 "title": "Example usage:",
28706 "content": "curl https://{domain}/api/users/describe -v -u {name}:{password}",
28710 "name": "DescribeUsers",
28712 "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>",
28713 "version": "0.0.0",
28714 "filename": "server/api/user/index.js",
28715 "groupTitle": "Users"
28719 "url": "/api/users/{id}/agents",
28720 "title": "GetAgents",
28723 "title": "Example usage:",
28724 "content": "curl https://{domain}/api/users/{id}/agents -v -u {name}:{password} -X GET",
28728 "name": "GetAgents",
28730 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28731 "version": "0.0.0",
28732 "filename": "server/api/user/index.js",
28733 "groupTitle": "Users"
28737 "url": "/api/users/{id}/api_key",
28738 "title": "Get the API access key for the user",
28741 "title": "Example usage:",
28742 "content": "curl https://{domain}/api/users/:id/api_key -v -u {name}:{password} -X GET",
28746 "name": "GetApiKey",
28748 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28749 "version": "0.0.0",
28750 "filename": "server/api/user/index.js",
28751 "groupTitle": "Users"
28755 "url": "/api/users/{id}/groups",
28756 "title": "GetChatGroups",
28759 "title": "Example usage:",
28760 "content": "curl https://{domain}/api/users/{id}/groups -v -u {name}:{password} -X GET",
28764 "name": "GetChatGroups",
28766 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28767 "version": "0.0.0",
28768 "filename": "server/api/user/index.js",
28769 "groupTitle": "Users"
28773 "url": "/api/users/{id}/chat/interactions",
28774 "title": "GetChatInteractions",
28777 "title": "Example usage:",
28778 "content": "curl https://{domain}/api/users/{id}/chat/interactions -v -u {name}:{password} -X GET",
28782 "name": "GetChatInteractions",
28784 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28785 "version": "0.0.0",
28786 "filename": "server/api/user/index.js",
28787 "groupTitle": "Users"
28791 "url": "/api/users/{id}/chat_websites",
28792 "title": "GetChatWebsites",
28795 "title": "Example usage:",
28796 "content": "curl https://{domain}/api/users/{id}/chat_websites -v -u {name}:{password} -X GET",
28800 "name": "GetChatWebsites",
28802 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28803 "version": "0.0.0",
28804 "filename": "server/api/user/index.js",
28805 "groupTitle": "Users"
28809 "url": "/api/users/{id}/contacts",
28810 "title": "GetContacts",
28813 "title": "Example usage:",
28814 "content": "curl https://{domain}/api/users/{id}/contacts -v -u {name}:{password} -X GET",
28818 "name": "GetContacts",
28820 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28821 "version": "0.0.0",
28822 "filename": "server/api/user/index.js",
28823 "groupTitle": "Users"
28827 "url": "/api/users/{id}/fax_accounts",
28828 "title": "GetFaxAccounts",
28831 "title": "Example usage:",
28832 "content": "curl https://{domain}/api/users/{id}/fax_accounts -v -u {name}:{password} -X GET",
28836 "name": "GetFaxAccounts",
28838 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28839 "version": "0.0.0",
28840 "filename": "server/api/user/index.js",
28841 "groupTitle": "Users"
28845 "url": "/api/users/{id}/fax/interactions",
28846 "title": "GetFaxInteractions",
28849 "title": "Example usage:",
28850 "content": "curl https://{domain}/api/users/{id}/fax/interactions -v -u {name}:{password} -X GET",
28854 "name": "GetFaxInteractions",
28856 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28857 "version": "0.0.0",
28858 "filename": "server/api/user/index.js",
28859 "groupTitle": "Users"
28863 "url": "/api/users/{id}/lists",
28864 "title": "GetLists",
28867 "title": "Example usage:",
28868 "content": "curl https://{domain}/api/users/{id}/lists -v -u {name}:{password} -X GET",
28872 "name": "GetLists",
28874 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28875 "version": "0.0.0",
28876 "filename": "server/api/user/index.js",
28877 "groupTitle": "Users"
28881 "url": "/api/users/{id}/mail_accounts",
28882 "title": "GetMailAccounts",
28885 "title": "Example usage:",
28886 "content": "curl https://{domain}/api/users/{id}/mail_accounts -v -u {name}:{password} -X GET",
28890 "name": "GetMailAccounts",
28892 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28893 "version": "0.0.0",
28894 "filename": "server/api/user/index.js",
28895 "groupTitle": "Users"
28899 "url": "/api/users/{id}/mail/interactions",
28900 "title": "GetMailInteractions",
28903 "title": "Example usage:",
28904 "content": "curl https://{domain}/api/users/{id}/mail/interactions -v -u {name}:{password} -X GET",
28908 "name": "GetMailInteractions",
28910 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28911 "version": "0.0.0",
28912 "filename": "server/api/user/index.js",
28913 "groupTitle": "Users"
28917 "url": "/api/users/{id}/openchannel_accounts",
28918 "title": "GetOpenchannelAccounts",
28921 "title": "Example usage:",
28922 "content": "curl https://{domain}/api/users/{id}/openchannel_accounts -v -u {name}:{password} -X GET",
28926 "name": "GetOpenchannelAccounts",
28928 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28929 "version": "0.0.0",
28930 "filename": "server/api/user/index.js",
28931 "groupTitle": "Users"
28935 "url": "/api/users/{id}/openchannel/interactions",
28936 "title": "GetOpenchannelInteractions",
28939 "title": "Example usage:",
28940 "content": "curl https://{domain}/api/users/{id}/openchannel/interactions -v -u {name}:{password}",
28944 "name": "GetOpenchannelInteractions",
28946 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28947 "version": "0.0.0",
28948 "filename": "server/api/user/index.js",
28949 "groupTitle": "Users"
28953 "url": "/api/users/{id}/prefixes",
28954 "title": "GetPrefixes",
28957 "title": "Example usage:",
28958 "content": "curl https://{domain}/api/users/{id}/prefixes -v -u {name}:{password} -X GET",
28962 "name": "GetPrefixes",
28964 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28965 "version": "0.0.0",
28966 "filename": "server/api/user/index.js",
28967 "groupTitle": "Users"
28971 "url": "/api/users/{id}/queues?channel={channel}",
28972 "title": "Gets Queues list",
28975 "title": "Example usage:",
28976 "content": "curl https://{domain}/api/users/{id}/queues/?channel={channel} -v -u {name}:{password} -X GET",
28980 "name": "GetQueues",
28982 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28983 "version": "0.0.0",
28984 "filename": "server/api/user/index.js",
28985 "groupTitle": "Users"
28989 "url": "/api/users/{id}/recordings",
28990 "title": "GetRecordings",
28993 "title": "Example usage:",
28994 "content": "curl https://{domain}/api/users/{id}/recordings -v -u {name}:{password} -X GET",
28998 "name": "GetRecordings",
29000 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29001 "version": "0.0.0",
29002 "filename": "server/api/user/index.js",
29003 "groupTitle": "Users"
29007 "url": "/api/users/{id}/scheduled_calls",
29008 "title": "GetScheduledCalls",
29011 "title": "Example usage:",
29012 "content": "curl https://{domain}/api/users/{id}/scheduled_calls -v -u {name}:{password} -X GET",
29016 "name": "GetScheduledCalls",
29018 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29019 "version": "0.0.0",
29020 "filename": "server/api/user/index.js",
29021 "groupTitle": "Users"
29025 "url": "/api/users/{id}/screen_recordings",
29026 "title": "GetScreenRecordings",
29029 "title": "Example usage:",
29030 "content": "curl https://{domain}/api/users/{id}/screen_recordings -v -u {name}:{password} -X GET",
29034 "name": "GetScreenRecordings",
29036 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29037 "version": "0.0.0",
29038 "filename": "server/api/user/index.js",
29039 "groupTitle": "Users"
29043 "url": "/api/users/{id}/sms_accounts",
29044 "title": "GetSmsAccounts",
29047 "title": "Example usage:",
29048 "content": "curl https://{domain}/api/users/{id}/sms_accounts -v -u {name}:{password} -X GET",
29052 "name": "GetSmsAccounts",
29054 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29055 "version": "0.0.0",
29056 "filename": "server/api/user/index.js",
29057 "groupTitle": "Users"
29061 "url": "/api/users/{id}/sms/interactions",
29062 "title": "GetSmsInteractions",
29065 "title": "Example usage:",
29066 "content": "curl https://{domain}/api/users/{id}/sms/interactions -v -u {name}:{password} -X GET",
29070 "name": "GetSmsInteractions",
29072 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29073 "version": "0.0.0",
29074 "filename": "server/api/user/index.js",
29075 "groupTitle": "Users"
29079 "url": "/api/users/{id}/square_projects",
29080 "title": "GetSquareProjects",
29083 "title": "Example usage:",
29084 "content": "curl https://{domain}/api/users/{id}/square_projects -v -u {name}:{password} -X GET",
29088 "name": "GetSquareProjects",
29090 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29091 "version": "0.0.0",
29092 "filename": "server/api/user/index.js",
29093 "groupTitle": "Users"
29097 "url": "/api/users/{id}/teams",
29098 "title": "GetTeams",
29101 "title": "Example usage:",
29102 "content": "curl https://{domain}/api/users/{id}/teams -v -u {name}:{password} -X GET",
29106 "name": "GetTeams",
29108 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29109 "version": "0.0.0",
29110 "filename": "server/api/user/index.js",
29111 "groupTitle": "Users"
29115 "url": "/api/users",
29116 "title": "Gets a list of Users",
29119 "title": "Example usage:",
29120 "content": "curl https://{domain}/api/users -v -u {name}:{password}",
29124 "name": "GetUsers",
29126 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
29127 "version": "0.0.0",
29128 "filename": "server/api/user/index.js",
29129 "groupTitle": "Users"
29133 "url": "/api/users/{id}/queues_rt",
29134 "title": "GetVoiceQueuesRt",
29137 "title": "Example usage:",
29138 "content": "curl https://{domain}/api/users/{id}/queues_rt -v -u {name}:{password} -X GET",
29142 "name": "GetVoiceQueuesRt",
29144 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29145 "version": "0.0.0",
29146 "filename": "server/api/user/index.js",
29147 "groupTitle": "Users"
29151 "url": "/api/users/{id}/whatsapp_accounts",
29152 "title": "GetWhatsappAccounts",
29155 "title": "Example usage:",
29156 "content": "curl https://{domain}/api/users/{id}/whatsapp_accounts -v -u {name}:{password} -X GET",
29160 "name": "GetWhatsappAccounts",
29162 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29163 "version": "0.0.0",
29164 "filename": "server/api/user/index.js",
29165 "groupTitle": "Users"
29169 "url": "/api/users/{id}/whatsapp/interactions",
29170 "title": "GetWhatsappInteractions",
29173 "title": "Example usage:",
29174 "content": "curl https://{domain}/api/users/{id}/whatsapp/interactions -v -u {name}:{password} -X GET",
29178 "name": "GetWhatsappInteractions",
29180 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29181 "version": "0.0.0",
29182 "filename": "server/api/user/index.js",
29183 "groupTitle": "Users"
29187 "url": "/api/users/{id}/login",
29191 "title": "Example usage:",
29192 "content": "curl https://{domain}/api/users/{id}/login -v -u {name}:{password} -X POST",
29198 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29199 "version": "0.0.0",
29200 "filename": "server/api/user/index.js",
29201 "groupTitle": "Users"
29205 "url": "/api/users/{id}/logout",
29209 "title": "Example usage:",
29210 "content": "curl https://{domain}/api/users/{id}/logout -v -u {name}:{password} -X POST",
29216 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29217 "version": "0.0.0",
29218 "filename": "server/api/user/index.js",
29219 "groupTitle": "Users"
29223 "url": "/api/users/{id}/pause",
29227 "title": "Example usage:",
29228 "content": "curl https://{domain}/api/users/{id}/pause -v -u {name}:{password} -X POST",
29234 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29235 "version": "0.0.0",
29236 "filename": "server/api/user/index.js",
29237 "groupTitle": "Users"
29241 "url": "/api/users/{id}/api_key",
29242 "title": "Remove API access key for the user",
29245 "title": "Example usage:",
29246 "content": "curl https://{domain}/api/users/:id/api_key -v -u {name}:{password} -X DELETE",
29250 "name": "RemoveApiKey",
29252 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29253 "version": "0.0.0",
29254 "filename": "server/api/user/index.js",
29255 "groupTitle": "Users"
29259 "url": "/api/users/{id}/chat_interactions",
29260 "title": "Removes interactions from an agent",
29263 "title": "Example usage:",
29264 "content": "curl https://{domain}/api/users/{id}/chat_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29268 "name": "RemoveChatInteractions",
29270 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29271 "version": "0.0.0",
29272 "filename": "server/api/user/index.js",
29273 "groupTitle": "Users"
29277 "url": "/api/users/{id}/chat_websites",
29278 "title": "Removes a Chat Website from a user",
29281 "title": "Example usage:",
29282 "content": "curl https://{domain}/api/users/{id}/chat_websites?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29286 "name": "RemoveChatWebsites",
29288 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29289 "version": "0.0.0",
29290 "filename": "server/api/user/index.js",
29291 "groupTitle": "Users"
29295 "url": "/api/users/{id}/fax_accounts",
29296 "title": "Removes a Fax Account from a user",
29299 "title": "Example usage:",
29300 "content": "curl https://{domain}/api/users/{id}/fax_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29304 "name": "RemoveFaxAccounts",
29306 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29307 "version": "0.0.0",
29308 "filename": "server/api/user/index.js",
29309 "groupTitle": "Users"
29313 "url": "/api/users/{id}/fax_interactions",
29314 "title": "Removes interactions from an agent",
29317 "title": "Example usage:",
29318 "content": "curl https://{domain}/api/users/{id}/fax_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29322 "name": "RemoveFaxInteractions",
29324 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29325 "version": "0.0.0",
29326 "filename": "server/api/user/index.js",
29327 "groupTitle": "Users"
29331 "url": "/api/users/{id}/mail_accounts",
29332 "title": "Removes a Mail Account from a user",
29335 "title": "Example usage:",
29336 "content": "curl https://{domain}/api/users/{id}/mail_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29340 "name": "RemoveMailAccounts",
29342 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29343 "version": "0.0.0",
29344 "filename": "server/api/user/index.js",
29345 "groupTitle": "Users"
29349 "url": "/api/users/{id}/mail_interactions",
29350 "title": "Removes interactions from an agent",
29353 "title": "Example usage:",
29354 "content": "curl https://{domain}/api/users/{id}/mail_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29358 "name": "RemoveMailInteractions",
29360 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29361 "version": "0.0.0",
29362 "filename": "server/api/user/index.js",
29363 "groupTitle": "Users"
29367 "url": "/api/users/{id}/openchannel_accounts",
29368 "title": "Removes a Open Channel Account from a user",
29371 "title": "Example usage:",
29372 "content": "curl https://{domain}/api/users/{id}/openchannel_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29376 "name": "RemoveOpenchannelAccounts",
29378 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29379 "version": "0.0.0",
29380 "filename": "server/api/user/index.js",
29381 "groupTitle": "Users"
29385 "url": "/api/users/{id}/openchannel_interactions",
29386 "title": "Removes openchannel interactions from an agent",
29389 "title": "Example usage:",
29390 "content": "curl https://{domain}/api/users/{id}/openchannel_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29394 "name": "RemoveOpenchannelInteractions",
29396 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29397 "version": "0.0.0",
29398 "filename": "server/api/user/index.js",
29399 "groupTitle": "Users"
29403 "url": "/api/users/{id}/queues",
29404 "title": "Remove queues to an agent",
29407 "title": "Example usage:",
29408 "content": "curl https://{domain}/api/users/{id}/queues?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29412 "name": "RemoveQueues",
29414 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29415 "version": "0.0.0",
29416 "filename": "server/api/user/index.js",
29417 "groupTitle": "Users"
29421 "url": "/api/users/{id}/sms_accounts",
29422 "title": "Removes a Sms Account from a user",
29425 "title": "Example usage:",
29426 "content": "curl https://{domain}/api/users/{id}/sms_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29430 "name": "RemoveSmsAccounts",
29432 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29433 "version": "0.0.0",
29434 "filename": "server/api/user/index.js",
29435 "groupTitle": "Users"
29439 "url": "/api/users/{id}/sms_interactions",
29440 "title": "Removes interactions from an agent",
29443 "title": "Example usage:",
29444 "content": "curl https://{domain}/api/users/{id}/sms_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29448 "name": "RemoveSmsInteractions",
29450 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29451 "version": "0.0.0",
29452 "filename": "server/api/user/index.js",
29453 "groupTitle": "Users"
29457 "url": "/api/users/{id}/square_projects",
29458 "title": "Removes a Square Project from a user",
29461 "title": "Example usage:",
29462 "content": "curl https://{domain}/api/users/{id}/square_projects?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29466 "name": "RemoveSquareProjects",
29468 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29469 "version": "0.0.0",
29470 "filename": "server/api/user/index.js",
29471 "groupTitle": "Users"
29475 "url": "/api/users/{id}/teams",
29476 "title": "Removes teams from an agent",
29479 "title": "Example usage:",
29480 "content": "curl https://{domain}/api/users/{id}/teams?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29484 "name": "RemoveTeams",
29486 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29487 "version": "0.0.0",
29488 "filename": "server/api/user/index.js",
29489 "groupTitle": "Users"
29493 "url": "/api/users/{id}/whatsapp_accounts",
29494 "title": "Removes a Whatsapp Account from a user",
29497 "title": "Example usage:",
29498 "content": "curl https://{domain}/api/users/{id}/whatsapp_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29502 "name": "RemoveWhatsappAccounts",
29504 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29505 "version": "0.0.0",
29506 "filename": "server/api/user/index.js",
29507 "groupTitle": "Users"
29511 "url": "/api/users/{id}/whatsapp_interactions",
29512 "title": "Removes Whatsapp interactions from an agent",
29515 "title": "Example usage:",
29516 "content": "curl https://{domain}/api/users/{id}/whatsapp_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29520 "name": "RemoveWhatsappInteractions",
29522 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29523 "version": "0.0.0",
29524 "filename": "server/api/user/index.js",
29525 "groupTitle": "Users"
29529 "url": "/api/users/{id}",
29530 "title": "Gets a single User",
29533 "title": "Example usage:",
29534 "content": "curl https://{domain}/api/users/{id} -v -u {name}:{password}",
29538 "name": "ShowUsers",
29540 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29541 "version": "0.0.0",
29542 "filename": "server/api/user/index.js",
29543 "groupTitle": "Users"
29547 "url": "/api/users/{id}/unpause",
29548 "title": "Unpause",
29551 "title": "Example usage:",
29552 "content": "curl https://{domain}/api/users/{id}/unpause -v -u {name}:{password} -X POST",
29558 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29559 "version": "0.0.0",
29560 "filename": "server/api/user/index.js",
29561 "groupTitle": "Users"
29565 "url": "/api/users/whoami",
29569 "title": "Example usage:",
29570 "content": "curl https://{domain}/api/users/whoami -v -u {name}:{password} -X GET",
29576 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29577 "version": "0.0.0",
29578 "filename": "server/api/user/index.js",
29579 "groupTitle": "Users"
29583 "url": "/api/users/{id}/avatar",
29584 "title": "Add avatar",
29587 "title": "Example usage:",
29588 "content": "curl https://{domain}/api/users/{id}/avatar -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
29592 "name": "addAvatar",
29594 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29595 "version": "0.0.0",
29596 "filename": "server/api/user/index.js",
29597 "groupTitle": "Users"
29601 "url": "/api/users/create_many",
29602 "title": "Create Users",
29605 "title": "Example usage:",
29606 "content": "curl https://{domain}/api/users/create_many -d '[{\"name\": \"john.doe\", \"role\": \"user\", \"...\": \"...\"}]' -v -u {name}:{password} -X POST",
29610 "name": "bulkCreate",
29612 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29613 "version": "0.0.0",
29614 "filename": "server/api/user/index.js",
29615 "groupTitle": "Users"
29619 "url": "/api/users/{id}/avatar",
29620 "title": "Get avatar",
29623 "title": "Example usage:",
29624 "content": "curl https://{domain}/api/users/{id}/avatar -v -u {name}:{password} -X GET",
29628 "name": "getAvatar",
29630 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29631 "version": "0.0.0",
29632 "filename": "server/api/user/index.js",
29633 "groupTitle": "Users"
29637 "url": "/api/users/{id}",
29638 "title": "Update an existing User",
29641 "title": "Example usage:",
29642 "content": "curl https://{domain}/api/users/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
29646 "name": "updateUsers",
29648 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29649 "version": "0.0.0",
29650 "filename": "server/api/user/index.js",
29651 "groupTitle": "Users"
29655 "url": "/api/variables",
29656 "title": "Creates a new Variable",
29659 "title": "Example usage:",
29660 "content": "curl https://{domain}/api/variables -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
29664 "name": "CreateVariables",
29665 "group": "Variables",
29680 "field": "description",
29686 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29687 "version": "0.0.0",
29688 "filename": "server/api/variable/index.js",
29689 "groupTitle": "Variables"
29693 "url": "/api/variables/{id}",
29694 "title": "Deletes a Variable",
29697 "title": "Example usage:",
29698 "content": "curl https://{domain}/api/variables/{id} -v -u {name}:{password} -X DELETE",
29702 "name": "DeleteVariables",
29703 "group": "Variables",
29704 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29705 "version": "0.0.0",
29706 "filename": "server/api/variable/index.js",
29707 "groupTitle": "Variables"
29711 "url": "/api/variables",
29712 "title": "Gets a list of Variables",
29715 "title": "Example usage:",
29716 "content": "curl https://{domain}/api/variables -v -u {name}:{password}",
29720 "name": "GetVariables",
29721 "group": "Variables",
29722 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
29723 "version": "0.0.0",
29724 "filename": "server/api/variable/index.js",
29725 "groupTitle": "Variables"
29729 "url": "/api/variables/{id}",
29730 "title": "Gets a single Variable",
29733 "title": "Example usage:",
29734 "content": "curl https://{domain}/api/variables/{id} -v -u {name}:{password}",
29738 "name": "ShowVariables",
29739 "group": "Variables",
29740 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29741 "version": "0.0.0",
29742 "filename": "server/api/variable/index.js",
29743 "groupTitle": "Variables"
29747 "url": "/api/variables/{id}",
29748 "title": "Update an existing Variable",
29751 "title": "Example usage:",
29752 "content": "curl https://{domain}/api/variables/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
29756 "name": "updateVariables",
29757 "group": "Variables",
29758 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29759 "version": "0.0.0",
29760 "filename": "server/api/variable/index.js",
29761 "groupTitle": "Variables"
29765 "url": "/api/version/fetch",
29766 "title": "Fetch git version",
29769 "title": "Example usage:",
29770 "content": "curl https://{domain}/api/version/fetch -v -u {name}:{password}",
29774 "name": "FetchVersion",
29775 "group": "Version",
29776 "description": "<p>Motion run the following command: git fetch origin master</p>",
29777 "version": "0.0.0",
29778 "filename": "server/api/version/index.js",
29779 "groupTitle": "Version"
29783 "url": "/api/version",
29784 "title": "Gets version",
29787 "title": "Example usage:",
29788 "content": "curl https://{domain}/api/version -v -u {name}:{password}",
29792 "name": "GetVersion",
29793 "group": "Version",
29794 "description": "<p>Motion returns the current and latest motion version.</p>",
29795 "version": "0.0.0",
29796 "filename": "server/api/version/index.js",
29797 "groupTitle": "Version"
29801 "url": "/api/version/migrations",
29802 "title": "Launch database migrations",
29805 "title": "Example usage:",
29806 "content": "curl https://{domain}/api/version/migrations -v -u {name}:{password}",
29810 "name": "MigrateVersion",
29811 "group": "Version",
29812 "description": "<p>Motion launch the database migrations, according to the application version</p>",
29813 "version": "0.0.0",
29814 "filename": "server/api/version/index.js",
29815 "groupTitle": "Version"
29819 "url": "/api/version/pull",
29820 "title": "Pull git version",
29823 "title": "Example usage:",
29824 "content": "curl https://{domain}/api/version/pull -v -u {name}:{password}",
29828 "name": "PullVersion",
29829 "group": "Version",
29830 "description": "<p>Motion run the following command: git pull</p>",
29831 "version": "0.0.0",
29832 "filename": "server/api/version/index.js",
29833 "groupTitle": "Version"
29837 "url": "/api/version/reset",
29838 "title": "Reset git version",
29841 "title": "Example usage:",
29842 "content": "curl https://{domain}/api/version/reset -v -u {name}:{password}",
29846 "name": "ResetVersion",
29847 "group": "Version",
29848 "description": "<p>Motion run the following command: git reset --hard FETCH_HEAD</p>",
29849 "version": "0.0.0",
29850 "filename": "server/api/version/index.js",
29851 "groupTitle": "Version"
29855 "url": "/api/version/restart",
29856 "title": "Restart motion2 after update",
29859 "title": "Example usage:",
29860 "content": "curl https://{domain}/api/version/restart -v -u {name}:{password}",
29864 "name": "RestartVersion",
29865 "group": "Version",
29866 "description": "<p>Motion run the following command: pm2 restart motion</p>",
29867 "version": "0.0.0",
29868 "filename": "server/api/version/index.js",
29869 "groupTitle": "Version"
29873 "url": "/api/voice/agents/reports/describe",
29874 "title": "Gets table info about Agent Reports",
29877 "title": "Example usage:",
29878 "content": "curl https://{domain}/api/voice/agents/reports/describe -v -u {name}:{password}",
29882 "name": "DescribeAgent_Reports",
29883 "group": "Voice_Agent_Reports",
29884 "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>",
29885 "version": "0.0.0",
29886 "filename": "server/api/voiceAgentReport/index.js",
29887 "groupTitle": "Voice_Agent_Reports"
29891 "url": "/api/voice/agents/reports",
29892 "title": "Gets a list of Agent Reports",
29895 "title": "Example usage:",
29896 "content": "curl https://{domain}/api/voice/agents/reports -v -u {name}:{password}",
29900 "name": "GetAgent_Reports",
29901 "group": "Voice_Agent_Reports",
29902 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
29903 "version": "0.0.0",
29904 "filename": "server/api/voiceAgentReport/index.js",
29905 "groupTitle": "Voice_Agent_Reports"
29909 "url": "/api/voice/agents/reports/{id}",
29910 "title": "Gets a single Agent Report",
29913 "title": "Example usage:",
29914 "content": "curl https://{domain}/api/voice/agents/reports/{id} -v -u {name}:{password}",
29918 "name": "ShowAgent_Reports",
29919 "group": "Voice_Agent_Reports",
29920 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29921 "version": "0.0.0",
29922 "filename": "server/api/voiceAgentReport/index.js",
29923 "groupTitle": "Voice_Agent_Reports"
29927 "url": "/api/voice/calls/reports/describe",
29928 "title": "Gets table info about Call Reports",
29931 "title": "Example usage:",
29932 "content": "curl https://{domain}/api/voice/calls/reports/describe -v -u {name}:{password}",
29936 "name": "DescribeCall_Reports",
29937 "group": "Voice_Call_Reports",
29938 "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>",
29939 "version": "0.0.0",
29940 "filename": "server/api/voiceCallReport/index.js",
29941 "groupTitle": "Voice_Call_Reports"
29945 "url": "/api/voice/calls/reports",
29946 "title": "Gets a list of Call Reports",
29949 "title": "Example usage:",
29950 "content": "curl https://{domain}/api/voice/calls/reports -v -u {name}:{password}",
29954 "name": "GetCall_Reports",
29955 "group": "Voice_Call_Reports",
29956 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
29957 "version": "0.0.0",
29958 "filename": "server/api/voiceCallReport/index.js",
29959 "groupTitle": "Voice_Call_Reports"
29963 "url": "/api/voice/calls/reports/{id}",
29964 "title": "Gets a single Call Report",
29967 "title": "Example usage:",
29968 "content": "curl https://{domain}/api/voice/calls/reports/{id} -v -u {name}:{password}",
29972 "name": "ShowCall_Reports",
29973 "group": "Voice_Call_Reports",
29974 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29975 "version": "0.0.0",
29976 "filename": "server/api/voiceCallReport/index.js",
29977 "groupTitle": "Voice_Call_Reports"
29981 "url": "/api/voice/calls/reports/{id}",
29982 "title": "Update a single cdr",
29985 "title": "Example usage:",
29986 "content": "curl https://{domain}/api/voice/calls/reports/{id} -d '{\"userDispositio\": \"OK\"}' -v -u {name}:{password} -X PUT",
29991 "group": "Voice_Call_Reports",
29992 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29993 "version": "0.0.0",
29994 "filename": "server/api/voiceCallReport/index.js",
29995 "groupTitle": "Voice_Call_Reports"
29999 "url": "/api/voice/chanspy",
30000 "title": "Creates a new ChanSpy",
30003 "title": "Example usage:",
30004 "content": "curl https://{domain}/api/voice/chanspy -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30008 "name": "CreateChanSpy",
30009 "group": "Voice_ChanSpy",
30031 "field": "options",
30045 "field": "password",
30059 "field": "recordingFormat",
30066 "field": "description",
30072 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30073 "version": "0.0.0",
30074 "filename": "server/api/voiceChanSpy/index.js",
30075 "groupTitle": "Voice_ChanSpy"
30079 "url": "/api/voice/chanspy/{id}",
30080 "title": "Deletes a ChanSpy",
30083 "title": "Example usage:",
30084 "content": "curl https://{domain}/api/voice/chanspy/{id} -v -u {name}:{password} -X DELETE",
30088 "name": "DeleteChanSpy",
30089 "group": "Voice_ChanSpy",
30090 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30091 "version": "0.0.0",
30092 "filename": "server/api/voiceChanSpy/index.js",
30093 "groupTitle": "Voice_ChanSpy"
30097 "url": "/api/voice/chanspy",
30098 "title": "Gets a list of ChanSpy",
30101 "title": "Example usage:",
30102 "content": "curl https://{domain}/api/voice/chanspy -v -u {name}:{password}",
30106 "name": "GetChanSpy",
30107 "group": "Voice_ChanSpy",
30108 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30109 "version": "0.0.0",
30110 "filename": "server/api/voiceChanSpy/index.js",
30111 "groupTitle": "Voice_ChanSpy"
30115 "url": "/api/voice/chanspy/{id}",
30116 "title": "Gets a single ChanSpy",
30119 "title": "Example usage:",
30120 "content": "curl https://{domain}/api/voice/chanspy/{id} -v -u {name}:{password}",
30124 "name": "ShowChanSpy",
30125 "group": "Voice_ChanSpy",
30126 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30127 "version": "0.0.0",
30128 "filename": "server/api/voiceChanSpy/index.js",
30129 "groupTitle": "Voice_ChanSpy"
30133 "url": "/api/voice/chanspy/{id}",
30134 "title": "Update an existing ChanSpy",
30137 "title": "Example usage:",
30138 "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",
30142 "name": "updateChanSpy",
30143 "group": "Voice_ChanSpy",
30144 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30145 "version": "0.0.0",
30146 "filename": "server/api/voiceChanSpy/index.js",
30147 "groupTitle": "Voice_ChanSpy"
30151 "url": "/api/voice/contexts",
30152 "title": "Create a new context",
30155 "title": "Example usage:",
30156 "content": "curl https://{domain}/api/voice/contexts -v -u {name}:{password} -X POST",
30161 "group": "Voice_Contexts",
30176 "field": "description",
30183 "field": "defaultEntry",
30189 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30190 "version": "0.0.0",
30191 "filename": "server/api/voiceContext/index.js",
30192 "groupTitle": "Voice_Contexts"
30196 "url": "/api/voice/contexts/{id}",
30197 "title": "Deletes a context",
30200 "title": "Example usage:",
30201 "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password} -X DELETE",
30206 "group": "Voice_Contexts",
30207 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30208 "version": "0.0.0",
30209 "filename": "server/api/voiceContext/index.js",
30210 "groupTitle": "Voice_Contexts"
30214 "url": "/api/voice/contexts",
30215 "title": "Gets a list of Contexts",
30218 "title": "Example usage:",
30219 "content": "curl https://{domain}/api/voice/contexts -v -u {name}:{password}",
30223 "name": "GetContexts",
30224 "group": "Voice_Contexts",
30225 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30226 "version": "0.0.0",
30227 "filename": "server/api/voiceContext/index.js",
30228 "groupTitle": "Voice_Contexts"
30232 "url": "/api/voice/contexts/{id}",
30233 "title": "Gets a single Context",
30236 "title": "Example usage:",
30237 "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password}",
30241 "name": "ShowContexts",
30242 "group": "Voice_Contexts",
30243 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30244 "version": "0.0.0",
30245 "filename": "server/api/voiceContext/index.js",
30246 "groupTitle": "Voice_Contexts"
30250 "url": "/api/voice/contexts/{id}",
30251 "title": "Update an existing context",
30254 "title": "Example usage:",
30255 "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password} -X PUT",
30260 "group": "Voice_Contexts",
30261 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30262 "version": "0.0.0",
30263 "filename": "server/api/voiceContext/index.js",
30264 "groupTitle": "Voice_Contexts"
30268 "url": "/api/voice/dials/reports/describe",
30269 "title": "Gets table info about Dial Reports",
30272 "title": "Example usage:",
30273 "content": "curl https://{domain}/api/voice/dials/reports/describe -v -u {name}:{password}",
30277 "name": "DescribeDial_Reports",
30278 "group": "Voice_Dial_Reports",
30279 "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>",
30280 "version": "0.0.0",
30281 "filename": "server/api/voiceDialReport/index.js",
30282 "groupTitle": "Voice_Dial_Reports"
30286 "url": "/api/voice/dials/reports",
30287 "title": "Gets a list of Dial Reports",
30290 "title": "Example usage:",
30291 "content": "curl https://{domain}/api/voice/dials/reports -v -u {name}:{password}",
30295 "name": "GetDial_Reports",
30296 "group": "Voice_Dial_Reports",
30297 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30298 "version": "0.0.0",
30299 "filename": "server/api/voiceDialReport/index.js",
30300 "groupTitle": "Voice_Dial_Reports"
30304 "url": "/api/voice/dials/reports/{id}",
30305 "title": "Gets a single Dial Report",
30308 "title": "Example usage:",
30309 "content": "curl https://{domain}/api/voice/dials/reports/{id} -v -u {name}:{password}",
30313 "name": "ShowDial_Reports",
30314 "group": "Voice_Dial_Reports",
30315 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30316 "version": "0.0.0",
30317 "filename": "server/api/voiceDialReport/index.js",
30318 "groupTitle": "Voice_Dial_Reports"
30322 "url": "/api/voice/extensions/{id}",
30323 "title": "Deletes a Extension",
30326 "title": "Example usage:",
30327 "content": "curl https://{domain}/api/voice/extensions/{id} -v -u {name}:{password} -X DELETE",
30331 "name": "DeleteExtensions",
30332 "group": "Voice_Extensions",
30333 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30334 "version": "0.0.0",
30335 "filename": "server/api/voiceExtension/index.js",
30336 "groupTitle": "Voice_Extensions"
30340 "url": "/api/voice/extensions",
30341 "title": "Gets a list of Extensions",
30344 "title": "Example usage:",
30345 "content": "curl https://{domain}/api/voice/extensions -v -u {name}:{password}",
30349 "name": "GetExtensions",
30350 "group": "Voice_Extensions",
30351 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30352 "version": "0.0.0",
30353 "filename": "server/api/voiceExtension/index.js",
30354 "groupTitle": "Voice_Extensions"
30358 "url": "/api/voice/extensions/{id}",
30359 "title": "Gets a single Extension",
30362 "title": "Example usage:",
30363 "content": "curl https://{domain}/api/voice/extensions/{id} -v -u {name}:{password}",
30367 "name": "ShowExtensions",
30368 "group": "Voice_Extensions",
30369 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30370 "version": "0.0.0",
30371 "filename": "server/api/voiceExtension/index.js",
30372 "groupTitle": "Voice_Extensions"
30376 "url": "/api/voice/extensions",
30377 "title": "Create new applications",
30380 "title": "Example usage:",
30381 "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",
30385 "name": "addApplications",
30386 "group": "Voice_Extensions",
30387 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30388 "version": "0.0.0",
30389 "filename": "server/api/voiceExtension/index.js",
30390 "groupTitle": "Voice_Extensions"
30394 "url": "/api/voice/extensions",
30395 "title": "Create an extension",
30398 "title": "Example usage:",
30399 "content": "curl https://{domain}/api/voice/extensions -d '{\"exten\": \"12345\", \"context\": \"from-custom\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30404 "group": "Voice_Extensions",
30405 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30406 "version": "0.0.0",
30407 "filename": "server/api/voiceExtension/index.js",
30408 "groupTitle": "Voice_Extensions"
30412 "url": "/api/voice/extensions/{id}",
30413 "title": "Update an extension",
30416 "title": "Example usage:",
30417 "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",
30422 "group": "Voice_Extensions",
30423 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30424 "version": "0.0.0",
30425 "filename": "server/api/voiceExtension/index.js",
30426 "groupTitle": "Voice_Extensions"
30430 "url": "/api/voice/mohs",
30431 "title": "Create a new a new MOH",
30434 "title": "Example usage:",
30435 "content": "curl https://{domain}/api/voice/mohs -d '{\"name\": \"xmas_musics\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30440 "group": "Voice_MOHs",
30441 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30442 "version": "0.0.0",
30443 "filename": "server/api/voiceMusicOnHold/index.js",
30444 "groupTitle": "Voice_MOHs"
30448 "url": "/api/voice/mohs/{id}/sounds",
30449 "title": "Add sound to MOH",
30452 "title": "Example usage:",
30453 "content": "curl https://{domain}/api/voice/mohs/{id}/sounds -d '{\"id\": 1}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30457 "name": "AddSound",
30458 "group": "Voice_MOHs",
30459 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30460 "version": "0.0.0",
30461 "filename": "server/api/voiceMusicOnHold/index.js",
30462 "groupTitle": "Voice_MOHs"
30466 "url": "/api/voice/mohs/{id}",
30467 "title": "Deletes an MOH",
30470 "title": "Example usage:",
30471 "content": "curl https://{domain}/api/voice/mohs/{id} -v -u {name}:{password} -X DELETE",
30475 "name": "DestroyMoh",
30476 "group": "Voice_MOHs",
30477 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30478 "version": "0.0.0",
30479 "filename": "server/api/voiceMusicOnHold/index.js",
30480 "groupTitle": "Voice_MOHs"
30484 "url": "/api/voice/mohs",
30485 "title": "Gets a list of Music On Holds",
30488 "title": "Example usage:",
30489 "content": "curl https://{domain}/api/voice/mohs -v -u {name}:{password}",
30493 "name": "GetMusic_On_Holds",
30494 "group": "Voice_MOHs",
30495 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30496 "version": "0.0.0",
30497 "filename": "server/api/voiceMusicOnHold/index.js",
30498 "groupTitle": "Voice_MOHs"
30502 "url": "/api/voice/mohs/{id}/sounds",
30503 "title": "Gets sounds from MOH",
30506 "title": "Example usage:",
30507 "content": "curl https://{domain}/api/voice/mohs/{id}/sounds -v -u {name}:{password} -X DELETE",
30511 "name": "GetSounds",
30512 "group": "Voice_MOHs",
30513 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30514 "version": "0.0.0",
30515 "filename": "server/api/voiceMusicOnHold/index.js",
30516 "groupTitle": "Voice_MOHs"
30520 "url": "/api/voice/mohs/{id}/sounds/{id2}",
30521 "title": "Remove sound from MOH",
30524 "title": "Example usage:",
30525 "content": "curl https://{domain}/api/voice/mohs/{id}/sounds/{id2} -v -u {name}:{password} -X DELETE",
30529 "name": "RemoveSound",
30530 "group": "Voice_MOHs",
30531 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30532 "version": "0.0.0",
30533 "filename": "server/api/voiceMusicOnHold/index.js",
30534 "groupTitle": "Voice_MOHs"
30538 "url": "/api/voice/mohs/{id}",
30539 "title": "Gets a single Music On Hold",
30542 "title": "Example usage:",
30543 "content": "curl https://{domain}/api/voice/mohs/{id} -v -u {name}:{password}",
30547 "name": "ShowMusic_On_Holds",
30548 "group": "Voice_MOHs",
30549 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30550 "version": "0.0.0",
30551 "filename": "server/api/voiceMusicOnHold/index.js",
30552 "groupTitle": "Voice_MOHs"
30556 "url": "/api/voice/mohs/{id}",
30557 "title": "Update an existing Music On Hold",
30560 "title": "Example usage:",
30561 "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",
30565 "name": "updateMusic_On_Holds",
30566 "group": "Voice_MOHs",
30567 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30568 "version": "0.0.0",
30569 "filename": "server/api/voiceMusicOnHold/index.js",
30570 "groupTitle": "Voice_MOHs"
30574 "url": "/api/voice/mails",
30575 "title": "Creates a new Mail",
30578 "title": "Example usage:",
30579 "content": "curl https://{domain}/api/voice/mails -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30583 "name": "CreateMails",
30584 "group": "Voice_Mails",
30592 "field": "customer_id",
30599 "field": "context",
30606 "field": "mailbox",
30613 "field": "password",
30620 "field": "fullname",
30670 "field": "dialout",
30677 "field": "callback",
30699 "field": "operator",
30710 "field": "envelope",
30721 "field": "sayduration",
30728 "field": "saydurationm",
30739 "field": "sendvoicemail",
30761 "field": "nextaftercmd",
30772 "field": "forcename",
30783 "field": "forcegreetings",
30794 "field": "hidefromdir",
30808 "field": "emailsubject",
30815 "field": "emailbody",
30822 "field": "maxsecs",
30842 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30843 "version": "0.0.0",
30844 "filename": "server/api/voiceMail/index.js",
30845 "groupTitle": "Voice_Mails"
30849 "url": "/api/voice/mails/{id}",
30850 "title": "Deletes a Mail",
30853 "title": "Example usage:",
30854 "content": "curl https://{domain}/api/voice/mails/{id} -v -u {name}:{password} -X DELETE",
30858 "name": "DeleteMails",
30859 "group": "Voice_Mails",
30860 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30861 "version": "0.0.0",
30862 "filename": "server/api/voiceMail/index.js",
30863 "groupTitle": "Voice_Mails"
30867 "url": "/api/voice/mails",
30868 "title": "Gets a list of Mails",
30871 "title": "Example usage:",
30872 "content": "curl https://{domain}/api/voice/mails -v -u {name}:{password}",
30876 "name": "GetMails",
30877 "group": "Voice_Mails",
30878 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
30879 "version": "0.0.0",
30880 "filename": "server/api/voiceMail/index.js",
30881 "groupTitle": "Voice_Mails"
30885 "url": "/api/voice/mails/{id}",
30886 "title": "Gets a single Mail",
30889 "title": "Example usage:",
30890 "content": "curl https://{domain}/api/voice/mails/{id} -v -u {name}:{password}",
30894 "name": "ShowMails",
30895 "group": "Voice_Mails",
30896 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30897 "version": "0.0.0",
30898 "filename": "server/api/voiceMail/index.js",
30899 "groupTitle": "Voice_Mails"
30903 "url": "/api/voice/mails/{id}/messages",
30904 "title": "Gets voice mail messages",
30907 "title": "Example usage:",
30908 "content": "curl https://{domain}/api/voice/mails/{id}/messages -v -u {name}:{password} -X GET",
30912 "name": "getMessages",
30913 "group": "Voice_Mails",
30914 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30915 "version": "0.0.0",
30916 "filename": "server/api/voiceMail/index.js",
30917 "groupTitle": "Voice_Mails"
30921 "url": "/api/voice/mails/{id}",
30922 "title": "Update an existing Mail",
30925 "title": "Example usage:",
30926 "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",
30930 "name": "updateMails",
30931 "group": "Voice_Mails",
30932 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30933 "version": "0.0.0",
30934 "filename": "server/api/voiceMail/index.js",
30935 "groupTitle": "Voice_Mails"
30939 "url": "/api/voice/mails/messages",
30940 "title": "Creates a new Message",
30943 "title": "Example usage:",
30944 "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",
30948 "name": "CreateMessages",
30949 "group": "Voice_Messages",
30978 "field": "context",
30985 "field": "macrocontext",
30992 "field": "callerid",
30999 "field": "origtime",
31006 "field": "duration",
31013 "field": "mailboxuser",
31020 "field": "mailboxcontext",
31027 "field": "recording",
31054 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31055 "version": "0.0.0",
31056 "filename": "server/api/voiceMailMessage/index.js",
31057 "groupTitle": "Voice_Messages"
31061 "url": "/api/voice/mails/messages/{id}",
31062 "title": "Deletes a Message",
31065 "title": "Example usage:",
31066 "content": "curl https://{domain}/api/voice/mails/messages/{id} -v -u {name}:{password} -X DELETE",
31070 "name": "DeleteMessages",
31071 "group": "Voice_Messages",
31072 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31073 "version": "0.0.0",
31074 "filename": "server/api/voiceMailMessage/index.js",
31075 "groupTitle": "Voice_Messages"
31079 "url": "/api/voice/mails/messages",
31080 "title": "Gets a list of Messages",
31083 "title": "Example usage:",
31084 "content": "curl https://{domain}/api/voice/mails/messages -v -u {name}:{password}",
31088 "name": "GetMessages",
31089 "group": "Voice_Messages",
31090 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
31091 "version": "0.0.0",
31092 "filename": "server/api/voiceMailMessage/index.js",
31093 "groupTitle": "Voice_Messages"
31097 "url": "/api/voice/mails/messages/{id}",
31098 "title": "Gets a single Message",
31101 "title": "Example usage:",
31102 "content": "curl https://{domain}/api/voice/mails/messages/{id} -v -u {name}:{password}",
31106 "name": "ShowMessages",
31107 "group": "Voice_Messages",
31108 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31109 "version": "0.0.0",
31110 "filename": "server/api/voiceMailMessage/index.js",
31111 "groupTitle": "Voice_Messages"
31115 "url": "voice/mails/messages/{id}/download",
31116 "title": "Download Voice Message",
31119 "title": "Example usage:",
31120 "content": "curl https://{domain}voice/mails/messages/{id}/download -v -u {name}:{password} -X GET",
31124 "name": "download",
31125 "group": "Voice_Messages",
31126 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31127 "version": "0.0.0",
31128 "filename": "server/api/voiceMailMessage/index.js",
31129 "groupTitle": "Voice_Messages"
31133 "url": "/api/voice/mails/messages/{id}",
31134 "title": "Update an existing Message",
31137 "title": "Example usage:",
31138 "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",
31142 "name": "updateMessages",
31143 "group": "Voice_Messages",
31144 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31145 "version": "0.0.0",
31146 "filename": "server/api/voiceMailMessage/index.js",
31147 "groupTitle": "Voice_Messages"
31151 "url": "/api/voice/prefixes/{id}/users",
31152 "title": "Add agents to a prefix",
31155 "title": "Example usage:",
31156 "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",
31160 "name": "AddAgents",
31161 "group": "Voice_Prefixes",
31162 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31163 "version": "0.0.0",
31164 "filename": "server/api/voicePrefix/index.js",
31165 "groupTitle": "Voice_Prefixes"
31169 "url": "/api/voice/prefixes/{id}",
31170 "title": "Deletes a Prefix",
31173 "title": "Example usage:",
31174 "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password} -X DELETE",
31178 "name": "DeletePrefixes",
31179 "group": "Voice_Prefixes",
31180 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31181 "version": "0.0.0",
31182 "filename": "server/api/voicePrefix/index.js",
31183 "groupTitle": "Voice_Prefixes"
31187 "url": "/api/voice/prefixes/describe",
31188 "title": "Gets table info about Prefixes",
31191 "title": "Example usage:",
31192 "content": "curl https://{domain}/api/voice/prefixes/describe -v -u {name}:{password}",
31196 "name": "DescribePrefixes",
31197 "group": "Voice_Prefixes",
31198 "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>",
31199 "version": "0.0.0",
31200 "filename": "server/api/voicePrefix/index.js",
31201 "groupTitle": "Voice_Prefixes"
31205 "url": "/api/voice/prefixes/{id}/users",
31206 "title": "Gets agents from prefix",
31209 "title": "Example usage:",
31210 "content": "curl https://{domain}/api/voice/prefixes/{id}/users -v -u {name}:{password} -X GET",
31214 "name": "GetAgents",
31215 "group": "Voice_Prefixes",
31216 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31217 "version": "0.0.0",
31218 "filename": "server/api/voicePrefix/index.js",
31219 "groupTitle": "Voice_Prefixes"
31223 "url": "/api/voice/prefixes",
31224 "title": "Gets a list of Prefixes",
31227 "title": "Example usage:",
31228 "content": "curl https://{domain}/api/voice/prefixes -v -u {name}:{password}",
31232 "name": "GetPrefixes",
31233 "group": "Voice_Prefixes",
31234 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
31235 "version": "0.0.0",
31236 "filename": "server/api/voicePrefix/index.js",
31237 "groupTitle": "Voice_Prefixes"
31241 "url": "/api/voice/prefixes/{id}/users",
31242 "title": "Removes agents from a prefix",
31245 "title": "Example usage:",
31246 "content": "curl https://{domain}/api/voice/prefixes/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
31250 "name": "RemoveAgents",
31251 "group": "Voice_Prefixes",
31252 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31253 "version": "0.0.0",
31254 "filename": "server/api/voicePrefix/index.js",
31255 "groupTitle": "Voice_Prefixes"
31259 "url": "/api/voice/prefixes/{id}",
31260 "title": "Gets a single Prefix",
31263 "title": "Example usage:",
31264 "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password}",
31268 "name": "ShowPrefixes",
31269 "group": "Voice_Prefixes",
31270 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31271 "version": "0.0.0",
31272 "filename": "server/api/voicePrefix/index.js",
31273 "groupTitle": "Voice_Prefixes"
31277 "url": "/api/voice/prefixes/{id}",
31278 "title": "Update an existing prefix",
31281 "title": "Example usage:",
31282 "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password} -X PUT",
31287 "group": "Voice_Prefixes",
31288 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31289 "version": "0.0.0",
31290 "filename": "server/api/voicePrefix/index.js",
31291 "groupTitle": "Voice_Prefixes"
31295 "url": "/api/voice/prefixes",
31296 "title": "Create a prefix",
31299 "title": "Example usage:",
31300 "content": "curl https://{domain}/api/voice/prefixes -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31305 "group": "Voice_Prefixes",
31306 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31307 "version": "0.0.0",
31308 "filename": "server/api/voicePrefix/index.js",
31309 "groupTitle": "Voice_Prefixes"
31313 "url": "/api/voice/queues/reports/describe",
31314 "title": "Gets table info about Queue Reports",
31317 "title": "Example usage:",
31318 "content": "curl https://{domain}/api/voice/queues/reports/describe -v -u {name}:{password}",
31322 "name": "DescribeQueue_Reports",
31323 "group": "Voice_Queue_Reports",
31324 "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>",
31325 "version": "0.0.0",
31326 "filename": "server/api/voiceQueueReport/index.js",
31327 "groupTitle": "Voice_Queue_Reports"
31331 "url": "/api/voice/queues/reports",
31332 "title": "Gets a list of Queue Reports",
31335 "title": "Example usage:",
31336 "content": "curl https://{domain}/api/voice/queues/reports -v -u {name}:{password}",
31340 "name": "GetQueue_Reports",
31341 "group": "Voice_Queue_Reports",
31342 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
31343 "version": "0.0.0",
31344 "filename": "server/api/voiceQueueReport/index.js",
31345 "groupTitle": "Voice_Queue_Reports"
31349 "url": "/api/voice/queues/reports/{id}",
31350 "title": "Gets a single Queue Report",
31353 "title": "Example usage:",
31354 "content": "curl https://{domain}/api/voice/queues/reports/{id} -v -u {name}:{password}",
31358 "name": "ShowQueue_Reports",
31359 "group": "Voice_Queue_Reports",
31360 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31361 "version": "0.0.0",
31362 "filename": "server/api/voiceQueueReport/index.js",
31363 "groupTitle": "Voice_Queue_Reports"
31367 "url": "/api/voice/queues/reports/index",
31368 "title": "Get Voice Queues Report",
31371 "title": "Example usage:",
31372 "content": "curl https://{domain}/api/voice/queues/reports/index -v -u {name}:{password} -X GET",
31376 "name": "getVoiceQueuesReport",
31377 "group": "Voice_Queue_Reports",
31378 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31379 "version": "0.0.0",
31380 "filename": "server/api/voiceQueueReport/index.js",
31381 "groupTitle": "Voice_Queue_Reports"
31385 "url": "/api/voice/queues/{id}/users",
31386 "title": "Add agents to queue",
31389 "title": "Example usage:",
31390 "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",
31394 "name": "AddAgents",
31395 "group": "Voice_Queues",
31396 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31397 "version": "0.0.0",
31398 "filename": "server/api/voiceQueue/index.js",
31399 "groupTitle": "Voice_Queues"
31403 "url": "/api/voice/queues/{id}/blacklists",
31404 "title": "Add blacklists to a queue",
31407 "title": "Example usage:",
31408 "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",
31412 "name": "AddBlackLists",
31413 "group": "Voice_Queues",
31414 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31415 "version": "0.0.0",
31416 "filename": "server/api/voiceQueue/index.js",
31417 "groupTitle": "Voice_Queues"
31421 "url": "/api/voice/queues/{id}/lists",
31422 "title": "Add lists to a queue",
31425 "title": "Example usage:",
31426 "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",
31430 "name": "AddLists",
31431 "group": "Voice_Queues",
31432 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31433 "version": "0.0.0",
31434 "filename": "server/api/voiceQueue/index.js",
31435 "groupTitle": "Voice_Queues"
31439 "url": "/api/voice/queues/{id}/teams",
31440 "title": "Add teams to queue",
31443 "title": "Example usage:",
31444 "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",
31448 "name": "AddTeams",
31449 "group": "Voice_Queues",
31450 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31451 "version": "0.0.0",
31452 "filename": "server/api/voiceQueue/index.js",
31453 "groupTitle": "Voice_Queues"
31457 "url": "/api/voice/queues/clone",
31458 "title": "Clone an existing Queue",
31461 "title": "Example usage:",
31462 "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",
31466 "name": "CloneQueues",
31467 "group": "Voice_Queues",
31468 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31469 "version": "0.0.0",
31470 "filename": "server/api/voiceQueue/index.js",
31471 "groupTitle": "Voice_Queues"
31475 "url": "/api/voice/queues",
31476 "title": "Creates a new Queue",
31479 "title": "Example usage:",
31480 "content": "curl https://{domain}/api/voice/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
31484 "name": "CreateQueues",
31485 "group": "Voice_Queues",
31511 "field": "musiconhold",
31518 "field": "announce",
31536 "field": "strategy",
31543 "field": "servicelevel",
31550 "field": "context",
31557 "field": "penaltymemberslimit",
31564 "field": "timeout",
31578 "field": "timeoutpriority",
31592 "field": "wrapuptime",
31603 "field": "autofill",
31615 "field": "autopause",
31622 "field": "autopausedelay",
31633 "field": "autopausebusy",
31644 "field": "autopauseunavail",
31662 "field": "setinterfacevar",
31673 "field": "setqueueentryvar",
31684 "field": "setqueuevar",
31695 "field": "eventmemberstatus",
31702 "field": "membermacro",
31709 "field": "membergosub",
31716 "field": "announce_frequency",
31723 "field": "min_announce_frequency",
31730 "field": "periodic_announce_frequency",
31741 "field": "random_periodic_announce",
31752 "field": "relative_periodic_announce",
31764 "field": "announce_holdtime",
31771 "field": "announce_position",
31782 "field": "announce_to_first_user",
31789 "field": "announce_position_limit",
31804 "field": "announce_round_seconds",
31811 "field": "monitor_format",
31818 "field": "monitor_type",
31825 "field": "queue_youarenext",
31832 "field": "queue_thereare",
31839 "field": "queue_callswaiting",
31846 "field": "queue_holdtime",
31853 "field": "queue_minute",
31860 "field": "queue_minutes",
31867 "field": "queue_seconds",
31874 "field": "queue_thankyou",
31881 "field": "queue_reporthold",
31888 "field": "queue_quantity1",
31895 "field": "queue_quantity2",
31902 "field": "queue_periodic_announce",
31909 "field": "queue_less_than",
31916 "field": "periodic_announce",
31923 "field": "joinempty",
31930 "field": "leavewhenempty",
31941 "field": "reportholdtime",
31952 "field": "ringinuse",
31959 "field": "memberdelay",
31970 "field": "timeoutrestart",
31977 "field": "defaultrule",
31984 "field": "description",
31998 "field": "acwTimeout",
32005 "field": "dialActive",
32006 "description": "<p>Active/Disactive Campaign</p>"
32019 "field": "dialMethod",
32020 "description": "<p>Dial Method.</p>"
32026 "field": "dialLimitChannel",
32027 "description": "<p>Max 9999 channels, 0 means unlimited.</p>"
32033 "field": "dialLimitQueue",
32034 "description": "<p>Max 9999 member in queue(min:1, max:9999), 0 means unlimited.</p>"
32040 "field": "dialPowerLevel",
32041 "description": "<p>Power Level: Calls for agents (min:1, max:10).</p>"
32047 "\"agentBusyFactor\"",
32051 "field": "dialPredictiveOptimization",
32052 "description": "<p>Only for predictive method.</p>"
32058 "field": "dialPredictiveOptimizationPercentage",
32059 "description": "<p>Predictive Optimization Percentage (min: 1, max: 95)</p>"
32065 "field": "dialPredictiveInterval",
32066 "description": "<p>Interval Predictive Minutes (min:5 max:30)</p>"
32072 "field": "dialOriginateCallerIdName",
32079 "field": "dialOriginateCallerIdNumber",
32086 "field": "dialOriginateTimeout",
32087 "description": "<p>Originate Timeout Seconds (min:1, max:999)</p>"
32093 "field": "dialQueueOptions",
32094 "description": "<p>https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Queue</p>"
32100 "field": "dialQueueTimeout",
32101 "description": "<p>Queue Timeout Seconds (min:1, max:999)</p>"
32107 "field": "dialQueueProject",
32108 "description": "<p>AGI queue option (use: agi://127.0.0.1/square,<project_name>)</p>"
32114 "field": "dialCongestionMaxRetry",
32115 "description": "<p>#Congestion Retry (min:1, max:999)</p>"
32121 "field": "dialCongestionRetryFrequency",
32122 "description": "<p>Congestion Retry Frequency Minutes (min:1, max:99999)</p>"
32128 "field": "dialBusyMaxRetry",
32129 "description": "<p>#Busy Retry (min:1, max:999)</p>"
32135 "field": "dialBusyRetryFrequency",
32136 "description": "<p>Busy Retry Frequency Minutes (min:1, max:99999)</p>"
32142 "field": "dialNoAnswerMaxRetry",
32143 "description": "<p>#NoAnswer Retry (min:1, max:999)</p>"
32149 "field": "dialNoAnswerRetryFrequency",
32150 "description": "<p>NoAnswer Retry Frequency Minutes (min:1, max:99999)</p>"
32156 "field": "dialGlobalMaxRetry",
32157 "description": "<p>#Global Max Retry (min:1, max:999)</p>"
32163 "field": "dialTimezone",
32170 "field": "dialGlobalInterval",
32177 "field": "dialPrefix",
32189 "field": "dialCheckDuplicateType",
32196 "field": "dialAMDActive",
32197 "description": "<p>Active/Disactive AMD</p>"
32203 "field": "dialAMDInitialSilence",
32204 "description": "<p>#AMD Initial Silence</p>"
32210 "field": "dialAMDGreeting",
32211 "description": "<p>#AMD Greeting</p>"
32217 "field": "dialAMDAfterGreetingSilence",
32218 "description": "<p>#AMD After Greeting Silence</p>"
32224 "field": "dialAMDTotalAnalysisTime",
32225 "description": "<p>#AMD Total Analysis Time</p>"
32231 "field": "dialAMDMinWordLength",
32232 "description": "<p>#AMD Min Word Length</p>"
32238 "field": "dialAMDBetweenWordsSilence",
32239 "description": "<p>#AMD Between Words Silence</p>"
32245 "field": "dialAMDMaximumNumberOfWords",
32246 "description": "<p>#AMD Maximum Number Of Words</p>"
32252 "field": "dialAMDSilenceThreshold",
32253 "description": "<p>#AMD Silence Threshold (min:0, max:32767)</p>"
32259 "field": "dialAMDMaximumWordLength",
32260 "description": "<p>#AMD Maximum Word Length</p>"
32266 "field": "dialRecallMeTimeout",
32267 "description": "<p>#RecallMe Timeout (min:1)</p>"
32273 "field": "dialRecallInQueue",
32274 "description": "<p>Active/Disactive Recall In Queue</p>"
32284 "field": "dialOrderByScheduledAt",
32291 "field": "dialQueueProject2",
32292 "description": "<p>AGI queue option (use: agi://127.0.0.1/square,<project_name>)</p>"
32298 "field": "dialAgiAfterHangupClient",
32305 "field": "dialAgiAfterHangupAgent",
32312 "field": "dialRandomLastDigitCallerIdNumber",
32313 "description": "<p>Random Last Digit (min:1, max:15)</p>"
32319 "field": "dialCutDigit",
32320 "description": "<p>Cut Digit (min:1, max:15)</p>"
32326 "field": "dialNoSuchNumberMaxRetry",
32327 "description": "<p>#NoSuchNumber Retry (min:1, max:999)</p>"
32333 "field": "dialNoSuchNumberRetryFrequency",
32334 "description": "<p>NoSuchNumber Retry Frequency Minutes (min:1, max:99999)</p>"
32340 "field": "dialDropMaxRetry",
32341 "description": "<p>#Drop Retry (min:1, max:999)</p>"
32347 "field": "dialDropRetryFrequency",
32348 "description": "<p>Drop Retry Frequency Minutes (min:1, max:99999)</p>"
32354 "field": "dialAbandonedMaxRetry",
32355 "description": "<p>#Abandoned Retry (min:1, max:999)</p>"
32361 "field": "dialAbandonedRetryFrequency",
32362 "description": "<p>Abandoned Retry Frequency Minutes (min:1, max:99999)</p>"
32368 "field": "dialMachineMaxRetry",
32369 "description": "<p>#Machine Retry (min:1, max:999)</p>"
32375 "field": "dialMachineRetryFrequency",
32376 "description": "<p>Machine Retry Frequency Minutes (min:1, max:99999)</p>"
32382 "field": "dialAgentRejectMaxRetry",
32383 "description": "<p>#AgentReject Retry (min:1, max:999)</p>"
32389 "field": "dialAgentRejectRetryFrequency",
32390 "description": "<p>AgentReject Retry Frequency Minutes (min:1, max:99999)</p>"
32396 "field": "mandatoryDispositionPauseId",
32397 "description": "<p>Status to put when mandatory disposition is enabled</p>"
32403 "field": "mandatoryDisposition",
32404 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
32410 "field": "dialPredictiveIntervalMaxThreshold",
32417 "field": "dialPredictiveIntervalMinThreshold",
32423 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32424 "version": "0.0.0",
32425 "filename": "server/api/voiceQueue/index.js",
32426 "groupTitle": "Voice_Queues"
32430 "url": "/api/voice/queues/{id}",
32431 "title": "Deletes a Queue",
32434 "title": "Example usage:",
32435 "content": "curl https://{domain}/api/voice/queues/{id} -v -u {name}:{password} -X DELETE",
32439 "name": "DeleteQueues",
32440 "group": "Voice_Queues",
32441 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32442 "version": "0.0.0",
32443 "filename": "server/api/voiceQueue/index.js",
32444 "groupTitle": "Voice_Queues"
32448 "url": "/api/voice/queues/{id}/users",
32449 "title": "Gets queue agents",
32452 "title": "Example usage:",
32453 "content": "curl https://{domain}/api/voice/queues/{id}/users -v -u {name}:{password} -X GET",
32457 "name": "GetAgents",
32458 "group": "Voice_Queues",
32459 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32460 "version": "0.0.0",
32461 "filename": "server/api/voiceQueue/index.js",
32462 "groupTitle": "Voice_Queues"
32466 "url": "/api/voice/queues/{id}/blacklists",
32467 "title": "Get queue blacklists",
32470 "title": "Example usage:",
32471 "content": "curl https://{domain}/api/voice/queues/{id}/blacklists -v -u {name}:{password} -X GET",
32475 "name": "GetBlackLists",
32476 "group": "Voice_Queues",
32477 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32478 "version": "0.0.0",
32479 "filename": "server/api/voiceQueue/index.js",
32480 "groupTitle": "Voice_Queues"
32484 "url": "/api/voice/queues/{id}/finals",
32485 "title": "Gets queue hopper finals",
32488 "title": "Example usage:",
32489 "content": "curl https://{domain}/api/voice/queues/{id}/hopper_finals -v -u {name}:{password} -X GET",
32493 "name": "GetHopperFinals",
32494 "group": "Voice_Queues",
32495 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32496 "version": "0.0.0",
32497 "filename": "server/api/voiceQueue/index.js",
32498 "groupTitle": "Voice_Queues"
32502 "url": "/api/voice/queues/{id}/hopper_histories",
32503 "title": "Gets queue hopper histories",
32506 "title": "Example usage:",
32507 "content": "curl https://{domain}/api/voice/queues/{id}/hopper_histories -v -u {name}:{password} -X GET",
32511 "name": "GetHopperHistories",
32512 "group": "Voice_Queues",
32513 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32514 "version": "0.0.0",
32515 "filename": "server/api/voiceQueue/index.js",
32516 "groupTitle": "Voice_Queues"
32520 "url": "/api/voice/queues/{id}/hoppers",
32521 "title": "Gets queue hoppers",
32524 "title": "Example usage:",
32525 "content": "curl https://{domain}/api/voice/queues/{id}/hoppers -v -u {name}:{password} -X GET",
32529 "name": "GetHoppers",
32530 "group": "Voice_Queues",
32531 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32532 "version": "0.0.0",
32533 "filename": "server/api/voiceQueue/index.js",
32534 "groupTitle": "Voice_Queues"
32538 "url": "/api/voice/queues/{id}/lists",
32539 "title": "Get queue lists",
32542 "title": "Example usage:",
32543 "content": "curl https://{domain}/api/voice/queues/{id}/lists -v -u {name}:{password} -X GET",
32547 "name": "GetLists",
32548 "group": "Voice_Queues",
32549 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32550 "version": "0.0.0",
32551 "filename": "server/api/voiceQueue/index.js",
32552 "groupTitle": "Voice_Queues"
32556 "url": "/api/voice/queues/{id}/members",
32557 "title": "Gets queue members",
32560 "title": "Example usage:",
32561 "content": "curl https://{domain}/api/voice/queues/{id}/members -v -u {name}:{password} -X GET",
32565 "name": "GetMembers",
32566 "group": "Voice_Queues",
32567 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32568 "version": "0.0.0",
32569 "filename": "server/api/voiceQueue/index.js",
32570 "groupTitle": "Voice_Queues"
32574 "url": "/api/voice/queues",
32575 "title": "Gets a list of Queues",
32578 "title": "Example usage:",
32579 "content": "curl https://{domain}/api/voice/queues -v -u {name}:{password}",
32583 "name": "GetQueues",
32584 "group": "Voice_Queues",
32585 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
32586 "version": "0.0.0",
32587 "filename": "server/api/voiceQueue/index.js",
32588 "groupTitle": "Voice_Queues"
32592 "url": "/api/voice/queues/{id}/teams",
32593 "title": "Gets queue team",
32596 "title": "Example usage:",
32597 "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X GET",
32601 "name": "GetTeams",
32602 "group": "Voice_Queues",
32603 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32604 "version": "0.0.0",
32605 "filename": "server/api/voiceQueue/index.js",
32606 "groupTitle": "Voice_Queues"
32610 "url": "/api/voice/queues/{id}/users",
32611 "title": "Removes agents from a queue",
32614 "title": "Example usage:",
32615 "content": "curl https://{domain}/api/voice/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32619 "name": "RemoveAgents",
32620 "group": "Voice_Queues",
32621 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32622 "version": "0.0.0",
32623 "filename": "server/api/voiceQueue/index.js",
32624 "groupTitle": "Voice_Queues"
32628 "url": "/api/voice/queues/{id}/blacklists",
32629 "title": "Remove blacklists from a queue",
32632 "title": "Example usage:",
32633 "content": "curl https://{domain}/api/voice/queues/{id}/blacklists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32637 "name": "RemoveBlackLists",
32638 "group": "Voice_Queues",
32639 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32640 "version": "0.0.0",
32641 "filename": "server/api/voiceQueue/index.js",
32642 "groupTitle": "Voice_Queues"
32646 "url": "/api/voice/queues/{id}/lists",
32647 "title": "Remove lists from a queue",
32650 "title": "Example usage:",
32651 "content": "curl https://{domain}/api/voice/queues/{id}/lists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32655 "name": "RemoveLists",
32656 "group": "Voice_Queues",
32657 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32658 "version": "0.0.0",
32659 "filename": "server/api/voiceQueue/index.js",
32660 "groupTitle": "Voice_Queues"
32664 "url": "/api/voice/queues/{id}",
32665 "title": "Gets a single Queue",
32668 "title": "Example usage:",
32669 "content": "curl https://{domain}/api/voice/queues/{id} -v -u {name}:{password}",
32673 "name": "ShowQueues",
32674 "group": "Voice_Queues",
32675 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32676 "version": "0.0.0",
32677 "filename": "server/api/voiceQueue/index.js",
32678 "groupTitle": "Voice_Queues"
32682 "url": "/api/voice/queues/{id}/blacks",
32683 "title": "Gets queue hopper blacks",
32686 "title": "Example usage:",
32687 "content": "curl https://{domain}/api/voice/queues/{id}/hopper_black -v -u {name}:{password} -X GET",
32691 "name": "getHopperBlacks",
32692 "group": "Voice_Queues",
32693 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32694 "version": "0.0.0",
32695 "filename": "server/api/voiceQueue/index.js",
32696 "groupTitle": "Voice_Queues"
32700 "url": "/api/voice/queues/{id}",
32701 "title": "Update an existing Queue",
32704 "title": "Example usage:",
32705 "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",
32709 "name": "updateQueues",
32710 "group": "Voice_Queues",
32711 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32712 "version": "0.0.0",
32713 "filename": "server/api/voiceQueue/index.js",
32714 "groupTitle": "Voice_Queues"
32718 "url": "/api/voice/recordings",
32719 "title": "Creates a new Recording",
32722 "title": "Example usage:",
32723 "content": "curl https://{domain}/api/voice/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
32727 "name": "CreateRecordings",
32728 "group": "Voice_Recordings",
32743 "field": "uniqueid",
32750 "field": "channel",
32757 "field": "membername",
32764 "field": "calleridnum",
32771 "field": "calleridname",
32778 "field": "connectedlinenum",
32785 "field": "connectedlinename",
32792 "field": "accountcode",
32799 "field": "context",
32841 "field": "userDisposition",
32848 "field": "userSecondDisposition",
32855 "field": "userThirdDisposition",
32862 "field": "location",
32869 "field": "transcribeName",
32876 "field": "transcribeStatus",
32883 "field": "fileUri",
32890 "field": "fileText",
32897 "field": "failureReason",
32904 "field": "sentiment",
32911 "field": "sPositive",
32918 "field": "sNegative",
32925 "field": "sNeutral",
32939 "field": "tempSentiment",
32946 "field": "createdAt",
32953 "field": "updatedAt",
32959 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32960 "version": "0.0.0",
32961 "filename": "server/api/voiceRecording/index.js",
32962 "groupTitle": "Voice_Recordings"
32966 "url": "/api/voice/recordings/describe",
32967 "title": "Gets table info about Recordings",
32970 "title": "Example usage:",
32971 "content": "curl https://{domain}/api/voice/recordings/describe -v -u {name}:{password}",
32975 "name": "DescribeRecordings",
32976 "group": "Voice_Recordings",
32977 "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>",
32978 "version": "0.0.0",
32979 "filename": "server/api/voiceRecording/index.js",
32980 "groupTitle": "Voice_Recordings"
32984 "url": "/api/voice/recordings",
32985 "title": "Gets a list of Recordings",
32988 "title": "Example usage:",
32989 "content": "curl https://{domain}/api/voice/recordings -v -u {name}:{password}",
32993 "name": "GetRecordings",
32994 "group": "Voice_Recordings",
32995 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
32996 "version": "0.0.0",
32997 "filename": "server/api/voiceRecording/index.js",
32998 "groupTitle": "Voice_Recordings"
33002 "url": "/api/voice/recordings/{id}",
33003 "title": "Gets a single Recording",
33006 "title": "Example usage:",
33007 "content": "curl https://{domain}/api/voice/recordings/{id} -v -u {name}:{password}",
33011 "name": "ShowRecordings",
33012 "group": "Voice_Recordings",
33013 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33014 "version": "0.0.0",
33015 "filename": "server/api/voiceRecording/index.js",
33016 "groupTitle": "Voice_Recordings"
33020 "url": "/api/voice/recordings/{id}",
33021 "title": "Delete voice recording",
33024 "title": "Example usage:",
33025 "content": "curl https://{domain}/api/voice/recordings/{id} -v -u {name}:{password} -X DELETE",
33030 "group": "Voice_Recordings",
33031 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33032 "version": "0.0.0",
33033 "filename": "server/api/voiceRecording/index.js",
33034 "groupTitle": "Voice_Recordings"
33038 "url": "/api/voice/recordings/{id}/download",
33039 "title": "Download Recording",
33042 "title": "Example usage:",
33043 "content": "curl https://{domain}/api/voice/recordings/{id}/download -v -u {name}:{password} -X GET",
33047 "name": "download",
33048 "group": "Voice_Recordings",
33049 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33050 "version": "0.0.0",
33051 "filename": "server/api/voiceRecording/index.js",
33052 "groupTitle": "Voice_Recordings"
33056 "url": "/api/voice/recordings/{id}/downloads",
33057 "title": "Download Recording",
33060 "title": "Example usage:",
33061 "content": "curl https://{domain}/api/voice/recordings/{id}/downloads -v -u {name}:{password} -X GET",
33065 "name": "downloads",
33066 "group": "Voice_Recordings",
33067 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33068 "version": "0.0.0",
33069 "filename": "server/api/voiceRecording/index.js",
33070 "groupTitle": "Voice_Recordings"
33074 "url": "/api/voice/recordings/{id}/transcribe",
33075 "title": "Run Transcribe Recording",
33078 "title": "Example usage:",
33079 "content": "curl https://{domain}/api/voice/recordings/{id}/transcribe -d '{\"runSentiment\": \"true\"}' -v -u {name}:{password} -X POST",
33083 "name": "transcribe",
33084 "group": "Voice_Recordings",
33085 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33086 "version": "0.0.0",
33087 "filename": "server/api/voiceRecording/index.js",
33088 "groupTitle": "Voice_Recordings"
33092 "url": "/api/voice/recordings/{id}/transcribe",
33093 "title": "Run Transcribe Recording",
33096 "title": "Example usage:",
33097 "content": "curl https://{domain}/api/voice/recordings/{id}/transcribe -v -u {name}:{password} -X GET",
33101 "name": "transcribe",
33102 "group": "Voice_Recordings",
33103 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33104 "version": "0.0.0",
33105 "filename": "server/api/voiceRecording/index.js",
33106 "groupTitle": "Voice_Recordings"
33110 "url": "/api/voice/recordings/{id}",
33111 "title": "Update an existing Recording",
33114 "title": "Example usage:",
33115 "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",
33119 "name": "updateRecordings",
33120 "group": "Voice_Recordings",
33121 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33122 "version": "0.0.0",
33123 "filename": "server/api/voiceRecording/index.js",
33124 "groupTitle": "Voice_Recordings"
33128 "url": "/api/voice/transfers/reports",
33129 "title": "Creates a new Transfer Report",
33132 "title": "Example usage:",
33133 "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",
33137 "name": "CreateTransfer_Reports",
33138 "group": "Voice_Transfer_Reports",
33164 "field": "transfererchannel",
33171 "field": "transferercalleridnum",
33178 "field": "transferercalleridname",
33185 "field": "transfererconnectedlinenum",
33192 "field": "transfererconnectedlinename",
33199 "field": "transfereraccountcode",
33206 "field": "transferercontext",
33213 "field": "transfererexten",
33220 "field": "transfererlinkedid",
33227 "field": "transfereechannel",
33234 "field": "transfereecalleridnum",
33241 "field": "transfereecalleridname",
33248 "field": "transfereeconnectedlinenum",
33255 "field": "transfereeconnectedlinename",
33262 "field": "transfereeaccountcode",
33269 "field": "transfereecontext",
33276 "field": "transfereeexten",
33283 "field": "transfereelinkedid",
33294 "field": "isexternal",
33301 "field": "context",
33308 "field": "extension",
33314 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33315 "version": "0.0.0",
33316 "filename": "server/api/voiceTransferReport/index.js",
33317 "groupTitle": "Voice_Transfer_Reports"
33321 "url": "/api/voice/transfers/reports/{id}",
33322 "title": "Deletes a Transfer Report",
33325 "title": "Example usage:",
33326 "content": "curl https://{domain}/api/voice/transfers/reports/{id} -v -u {name}:{password} -X DELETE",
33330 "name": "DeleteTransfer_Reports",
33331 "group": "Voice_Transfer_Reports",
33332 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33333 "version": "0.0.0",
33334 "filename": "server/api/voiceTransferReport/index.js",
33335 "groupTitle": "Voice_Transfer_Reports"
33339 "url": "/api/voice/transfers/reports",
33340 "title": "Gets a list of Transfer Reports",
33343 "title": "Example usage:",
33344 "content": "curl https://{domain}/api/voice/transfers/reports -v -u {name}:{password}",
33348 "name": "GetTransfer_Reports",
33349 "group": "Voice_Transfer_Reports",
33350 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
33351 "version": "0.0.0",
33352 "filename": "server/api/voiceTransferReport/index.js",
33353 "groupTitle": "Voice_Transfer_Reports"
33357 "url": "/api/voice/transfers/reports/{id}",
33358 "title": "Gets a single Transfer Report",
33361 "title": "Example usage:",
33362 "content": "curl https://{domain}/api/voice/transfers/reports/{id} -v -u {name}:{password}",
33366 "name": "ShowTransfer_Reports",
33367 "group": "Voice_Transfer_Reports",
33368 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33369 "version": "0.0.0",
33370 "filename": "server/api/voiceTransferReport/index.js",
33371 "groupTitle": "Voice_Transfer_Reports"
33375 "url": "/api/voice/transfers/reports/{id}",
33376 "title": "Update an existing Transfer Report",
33379 "title": "Example usage:",
33380 "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",
33384 "name": "updateTransfer_Reports",
33385 "group": "Voice_Transfer_Reports",
33386 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33387 "version": "0.0.0",
33388 "filename": "server/api/voiceTransferReport/index.js",
33389 "groupTitle": "Voice_Transfer_Reports"
33393 "url": "/api/integrations/vtiger/accounts",
33394 "title": "Creates a new Vtiger Account",
33397 "title": "Example usage:",
33398 "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",
33402 "name": "CreateVtiger_Accounts",
33403 "group": "Vtiger_Accounts",
33418 "field": "description",
33425 "field": "username",
33432 "field": "moduleName",
33439 "field": "remoteUri",
33446 "field": "serverUrl",
33453 "field": "accessKey",
33459 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33460 "version": "0.0.0",
33461 "filename": "server/api/intVtigerAccount/index.js",
33462 "groupTitle": "Vtiger_Accounts"
33466 "url": "/api/integrations/vtiger/accounts/{id}",
33467 "title": "Deletes a Vtiger Account",
33470 "title": "Example usage:",
33471 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id} -v -u {name}:{password} -X DELETE",
33475 "name": "DeleteVtiger_Accounts",
33476 "group": "Vtiger_Accounts",
33477 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33478 "version": "0.0.0",
33479 "filename": "server/api/intVtigerAccount/index.js",
33480 "groupTitle": "Vtiger_Accounts"
33484 "url": "/api/integrations/vtiger/accounts",
33485 "title": "Gets a list of Vtiger Accounts",
33488 "title": "Example usage:",
33489 "content": "curl https://{domain}/api/integrations/vtiger/accounts -v -u {name}:{password}",
33493 "name": "GetVtiger_Accounts",
33494 "group": "Vtiger_Accounts",
33495 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
33496 "version": "0.0.0",
33497 "filename": "server/api/intVtigerAccount/index.js",
33498 "groupTitle": "Vtiger_Accounts"
33502 "url": "/api/integrations/vtiger/accounts/{id}",
33503 "title": "Gets a single Vtiger Account",
33506 "title": "Example usage:",
33507 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id} -v -u {name}:{password}",
33511 "name": "ShowVtiger_Accounts",
33512 "group": "Vtiger_Accounts",
33513 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33514 "version": "0.0.0",
33515 "filename": "server/api/intVtigerAccount/index.js",
33516 "groupTitle": "Vtiger_Accounts"
33520 "url": "/api/integrations/vtiger/accounts/{id}/configurations",
33521 "title": "Creates new configuration",
33524 "title": "Example usage:",
33525 "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",
33529 "name": "addConfiguration",
33530 "group": "Vtiger_Accounts",
33531 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33532 "version": "0.0.0",
33533 "filename": "server/api/intVtigerAccount/index.js",
33534 "groupTitle": "Vtiger_Accounts"
33538 "url": "/api/integrations/vtiger/accounts/{id}/configurations",
33539 "title": "Gets account configurations",
33542 "title": "Example usage:",
33543 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id}/configurations -v -u {name}:{password} -X GET",
33547 "name": "getConfigurations",
33548 "group": "Vtiger_Accounts",
33549 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33550 "version": "0.0.0",
33551 "filename": "server/api/intVtigerAccount/index.js",
33552 "groupTitle": "Vtiger_Accounts"
33556 "url": "/api/integrations/vtiger/accounts/{id}/fields",
33557 "title": "Gets account fields",
33560 "title": "Example usage:",
33561 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id}/fields -v -u {name}:{password} -X GET",
33565 "name": "getFields",
33566 "group": "Vtiger_Accounts",
33567 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33568 "version": "0.0.0",
33569 "filename": "server/api/intVtigerAccount/index.js",
33570 "groupTitle": "Vtiger_Accounts"
33574 "url": "/api/integrations/vtiger/accounts/{id}",
33575 "title": "Update an existing Vtiger Account",
33578 "title": "Example usage:",
33579 "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",
33583 "name": "updateVtiger_Accounts",
33584 "group": "Vtiger_Accounts",
33585 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33586 "version": "0.0.0",
33587 "filename": "server/api/intVtigerAccount/index.js",
33588 "groupTitle": "Vtiger_Accounts"
33592 "url": "/api/integrations/vtiger/configurations",
33593 "title": "Creates a new Vtiger Configuration",
33596 "title": "Example usage:",
33597 "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",
33601 "name": "CreateVtiger_Configurations",
33602 "group": "Vtiger_Configurations",
33617 "field": "description",
33623 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33624 "version": "0.0.0",
33625 "filename": "server/api/intVtigerConfiguration/index.js",
33626 "groupTitle": "Vtiger_Configurations"
33630 "url": "/api/integrations/vtiger/configurations/{id}",
33631 "title": "Deletes a Vtiger Configuration",
33634 "title": "Example usage:",
33635 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id} -v -u {name}:{password} -X DELETE",
33639 "name": "DeleteVtiger_Configurations",
33640 "group": "Vtiger_Configurations",
33641 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33642 "version": "0.0.0",
33643 "filename": "server/api/intVtigerConfiguration/index.js",
33644 "groupTitle": "Vtiger_Configurations"
33648 "url": "/api/integrations/vtiger/configurations",
33649 "title": "Gets a list of Vtiger Configurations",
33652 "title": "Example usage:",
33653 "content": "curl https://{domain}/api/integrations/vtiger/configurations -v -u {name}:{password}",
33657 "name": "GetVtiger_Configurations",
33658 "group": "Vtiger_Configurations",
33659 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
33660 "version": "0.0.0",
33661 "filename": "server/api/intVtigerConfiguration/index.js",
33662 "groupTitle": "Vtiger_Configurations"
33666 "url": "/api/integrations/vtiger/configurations/{id}",
33667 "title": "Gets a single Vtiger Configuration",
33670 "title": "Example usage:",
33671 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id} -v -u {name}:{password}",
33675 "name": "ShowVtiger_Configurations",
33676 "group": "Vtiger_Configurations",
33677 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33678 "version": "0.0.0",
33679 "filename": "server/api/intVtigerConfiguration/index.js",
33680 "groupTitle": "Vtiger_Configurations"
33684 "url": "/api/integrations/vtiger/configurations/{id}/descriptions",
33685 "title": "Gets configurations descriptions",
33688 "title": "Example usage:",
33689 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
33693 "name": "getDescriptions",
33694 "group": "Vtiger_Configurations",
33695 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33696 "version": "0.0.0",
33697 "filename": "server/api/intVtigerConfiguration/index.js",
33698 "groupTitle": "Vtiger_Configurations"
33702 "url": "/api/integrations/vtiger/configurations/{id}/fields",
33703 "title": "Gets configurations fields",
33706 "title": "Example usage:",
33707 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/fields -v -u {name}:{password} -X GET",
33711 "name": "getFields",
33712 "group": "Vtiger_Configurations",
33713 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33714 "version": "0.0.0",
33715 "filename": "server/api/intVtigerConfiguration/index.js",
33716 "groupTitle": "Vtiger_Configurations"
33720 "url": "/api/integrations/vtiger/configurations/{id}/subjects",
33721 "title": "Gets configurations subjects",
33724 "title": "Example usage:",
33725 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/subjects -v -u {name}:{password} -X GET",
33729 "name": "getSubjects",
33730 "group": "Vtiger_Configurations",
33731 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33732 "version": "0.0.0",
33733 "filename": "server/api/intVtigerConfiguration/index.js",
33734 "groupTitle": "Vtiger_Configurations"
33738 "url": "/api/integrations/vtiger/configurations/{id}",
33739 "title": "Update an existing Vtiger Configuration",
33742 "title": "Example usage:",
33743 "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",
33747 "name": "updateVtiger_Configurations",
33748 "group": "Vtiger_Configurations",
33749 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33750 "version": "0.0.0",
33751 "filename": "server/api/intVtigerConfiguration/index.js",
33752 "groupTitle": "Vtiger_Configurations"
33756 "url": "/api/integrations/vtiger/fields",
33757 "title": "Creates a new Vtiger Field",
33760 "title": "Example usage:",
33761 "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",
33765 "name": "CreateVtiger_Fields",
33766 "group": "Vtiger_Fields",
33776 "\"customVariable\"",
33787 "field": "content",
33803 "\"customVariable\""
33806 "field": "keyType",
33813 "field": "keyContent",
33820 "field": "idField",
33827 "field": "nameField",
33834 "field": "customField",
33841 "field": "variableName",
33847 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33848 "version": "0.0.0",
33849 "filename": "server/api/intVtigerField/index.js",
33850 "groupTitle": "Vtiger_Fields"
33854 "url": "/api/integrations/vtiger/fields/{id}",
33855 "title": "Deletes a Vtiger Field",
33858 "title": "Example usage:",
33859 "content": "curl https://{domain}/api/integrations/vtiger/fields/{id} -v -u {name}:{password} -X DELETE",
33863 "name": "DeleteVtiger_Fields",
33864 "group": "Vtiger_Fields",
33865 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33866 "version": "0.0.0",
33867 "filename": "server/api/intVtigerField/index.js",
33868 "groupTitle": "Vtiger_Fields"
33872 "url": "/api/integrations/vtiger/fields",
33873 "title": "Gets a list of Vtiger Fields",
33876 "title": "Example usage:",
33877 "content": "curl https://{domain}/api/integrations/vtiger/fields -v -u {name}:{password}",
33881 "name": "GetVtiger_Fields",
33882 "group": "Vtiger_Fields",
33883 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
33884 "version": "0.0.0",
33885 "filename": "server/api/intVtigerField/index.js",
33886 "groupTitle": "Vtiger_Fields"
33890 "url": "/api/integrations/vtiger/fields/{id}",
33891 "title": "Gets a single Vtiger Field",
33894 "title": "Example usage:",
33895 "content": "curl https://{domain}/api/integrations/vtiger/fields/{id} -v -u {name}:{password}",
33899 "name": "ShowVtiger_Fields",
33900 "group": "Vtiger_Fields",
33901 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33902 "version": "0.0.0",
33903 "filename": "server/api/intVtigerField/index.js",
33904 "groupTitle": "Vtiger_Fields"
33908 "url": "/api/integrations/vtiger/fields/{id}",
33909 "title": "Update an existing Vtiger Field",
33912 "title": "Example usage:",
33913 "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",
33917 "name": "updateVtiger_Fields",
33918 "group": "Vtiger_Fields",
33919 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33920 "version": "0.0.0",
33921 "filename": "server/api/intVtigerField/index.js",
33922 "groupTitle": "Vtiger_Fields"
33926 "url": "/api/webbar/answer",
33927 "title": "answer webrtc call",
33930 "title": "Example usage:",
33931 "content": "curl https://{domain}/api/webbar/answer -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
33935 "name": "Web_Bar_answer",
33944 "field": "sessionId",
33957 "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>",
33958 "version": "0.0.0",
33959 "filename": "server/api/webbar/index.js",
33960 "groupTitle": "WebBar"
33964 "url": "/api/webbar/calls",
33965 "title": "webrtc call list",
33968 "title": "Example usage:",
33969 "content": "curl https://{domain}/api/webbar/calls -d '{\"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
33973 "name": "Web_Bar_calls",
33988 "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>",
33989 "version": "0.0.0",
33990 "filename": "server/api/webbar/index.js",
33991 "groupTitle": "WebBar"
33995 "url": "/api/webbar/hangup",
33996 "title": "hangup webrtc call",
33999 "title": "Example usage:",
34000 "content": "curl https://{domain}/api/webbar/hangup -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34004 "name": "Web_Bar_hangup",
34013 "field": "sessionId",
34026 "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>",
34027 "version": "0.0.0",
34028 "filename": "server/api/webbar/index.js",
34029 "groupTitle": "WebBar"
34033 "url": "/api/webbar/unhold",
34034 "title": "unhold webrtc call",
34037 "title": "Example usage:",
34038 "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34042 "name": "Web_Bar_hold",
34051 "field": "sessionId",
34064 "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>",
34065 "version": "0.0.0",
34066 "filename": "server/api/webbar/index.js",
34067 "groupTitle": "WebBar"
34071 "url": "/api/webbar/hold",
34072 "title": "hold webrtc call",
34075 "title": "Example usage:",
34076 "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34080 "name": "Web_Bar_hold",
34089 "field": "sessionId",
34102 "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>",
34103 "version": "0.0.0",
34104 "filename": "server/api/webbar/index.js",
34105 "groupTitle": "WebBar"
34109 "url": "/api/webbar/originate",
34110 "title": "Originate new webrtc call",
34113 "title": "Example usage:",
34114 "content": "curl https://{domain}/api/webbar/originate -d '{\"callNumber\": \"0119692844\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34118 "name": "Web_Bar_originate",
34127 "field": "callNumber",
34141 "field": "callerId",
34148 "field": "callbackUrl",
34154 "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>",
34155 "version": "0.0.0",
34156 "filename": "server/api/webbar/index.js",
34157 "groupTitle": "WebBar"
34161 "url": "/api/webbar/transfer",
34162 "title": "blind transfer webrtc call",
34165 "title": "Example usage:",
34166 "content": "curl https://{domain}/api/webbar/transfer -d '{\"userId\": 54, \"sessionId\":\"<sessionId>\", \"transferNumber\":\"<transferNumber>\"}' \\\n -H \"Content-Type: application/json\" -X POST",
34170 "name": "Web_Bar_transfer",
34186 "field": "sessionId",
34193 "field": "transferNumber",
34199 "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>",
34200 "version": "0.0.0",
34201 "filename": "server/api/webbar/index.js",
34202 "groupTitle": "WebBar"
34206 "url": "/api/whatsapp/accounts/{id}/users",
34207 "title": "Add agents to a whatsapp account",
34210 "title": "Example usage:",
34211 "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",
34215 "name": "AddAgents",
34216 "group": "Whatsapp_Accounts",
34217 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34218 "version": "0.0.0",
34219 "filename": "server/api/whatsappAccount/index.js",
34220 "groupTitle": "Whatsapp_Accounts"
34224 "url": "/api/whatsapp/accounts",
34225 "title": "Creates a new Account",
34228 "title": "Example usage:",
34229 "content": "curl https://{domain}/api/whatsapp/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
34233 "name": "CreateAccounts",
34234 "group": "Whatsapp_Accounts",
34287 "field": "accountSid",
34294 "field": "authToken",
34301 "field": "notificationTemplate",
34308 "field": "notificationSound",
34315 "field": "notificationShake",
34322 "field": "waitForTheAssignedAgent",
34329 "field": "queueTransfer",
34336 "field": "queueTransferTimeout",
34343 "field": "agentTransfer",
34350 "field": "agentTransferTimeout",
34357 "field": "mandatoryDispositionPauseId",
34358 "description": "<p>Status to put when mandatory disposition is enabled</p>"
34364 "field": "mandatoryDisposition",
34365 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
34371 "field": "description",
34377 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34378 "version": "0.0.0",
34379 "filename": "server/api/whatsappAccount/index.js",
34380 "groupTitle": "Whatsapp_Accounts"
34384 "url": "/api/whatsapp/accounts/{id}",
34385 "title": "Deletes a Account",
34388 "title": "Example usage:",
34389 "content": "curl https://{domain}/api/whatsapp/accounts/{id} -v -u {name}:{password} -X DELETE",
34393 "name": "DeleteAccounts",
34394 "group": "Whatsapp_Accounts",
34395 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34396 "version": "0.0.0",
34397 "filename": "server/api/whatsappAccount/index.js",
34398 "groupTitle": "Whatsapp_Accounts"
34402 "url": "/api/whatsapp/accounts/describe",
34403 "title": "Gets table info about Accounts",
34406 "title": "Example usage:",
34407 "content": "curl https://{domain}/api/whatsapp/accounts/describe -v -u {name}:{password}",
34411 "name": "DescribeAccounts",
34412 "group": "Whatsapp_Accounts",
34413 "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>",
34414 "version": "0.0.0",
34415 "filename": "server/api/whatsappAccount/index.js",
34416 "groupTitle": "Whatsapp_Accounts"
34420 "url": "/api/whatsapp/accounts",
34421 "title": "Gets a list of Accounts",
34424 "title": "Example usage:",
34425 "content": "curl https://{domain}/api/whatsapp/accounts -v -u {name}:{password}",
34429 "name": "GetAccounts",
34430 "group": "Whatsapp_Accounts",
34431 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
34432 "version": "0.0.0",
34433 "filename": "server/api/whatsappAccount/index.js",
34434 "groupTitle": "Whatsapp_Accounts"
34438 "url": "/api/whatsapp/accounts/{id}/users",
34439 "title": "Gets agents from whatsapp account",
34442 "title": "Example usage:",
34443 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/users -v -u {name}:{password} -X GET",
34447 "name": "GetAgents",
34448 "group": "Whatsapp_Accounts",
34449 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34450 "version": "0.0.0",
34451 "filename": "server/api/whatsappAccount/index.js",
34452 "groupTitle": "Whatsapp_Accounts"
34456 "url": "/api/whatsapp/accounts/{id}/users",
34457 "title": "Removes agents from a whatsapp account",
34460 "title": "Example usage:",
34461 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
34465 "name": "RemoveAgents",
34466 "group": "Whatsapp_Accounts",
34467 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34468 "version": "0.0.0",
34469 "filename": "server/api/whatsappAccount/index.js",
34470 "groupTitle": "Whatsapp_Accounts"
34474 "url": "/api/whatsapp/accounts/{id}/canned_answers",
34475 "title": "Removes canned answers from account",
34478 "title": "Example usage:",
34479 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
34483 "name": "RemoveAnswers",
34484 "group": "Whatsapp_Accounts",
34485 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34486 "version": "0.0.0",
34487 "filename": "server/api/whatsappAccount/index.js",
34488 "groupTitle": "Whatsapp_Accounts"
34492 "url": "/api/whatsapp/accounts/{id}/dispositions",
34493 "title": "Removes dispositions from account",
34496 "title": "Example usage:",
34497 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
34501 "name": "RemoveDispositions",
34502 "group": "Whatsapp_Accounts",
34503 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34504 "version": "0.0.0",
34505 "filename": "server/api/whatsappAccount/index.js",
34506 "groupTitle": "Whatsapp_Accounts"
34510 "url": "/api/whatsapp/accounts/{id}",
34511 "title": "Gets a single Account",
34514 "title": "Example usage:",
34515 "content": "curl https://{domain}/api/whatsapp/accounts/{id} -v -u {name}:{password}",
34519 "name": "ShowAccounts",
34520 "group": "Whatsapp_Accounts",
34521 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34522 "version": "0.0.0",
34523 "filename": "server/api/whatsappAccount/index.js",
34524 "groupTitle": "Whatsapp_Accounts"
34528 "url": "/api/whatsapp/messages/{id}/accept",
34529 "title": "Accepts message",
34532 "title": "Example usage:",
34533 "content": "curl https://{domain}/api/whatsapp/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
34537 "name": "acceptMessage",
34538 "group": "Whatsapp_Accounts",
34539 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34540 "version": "0.0.0",
34541 "filename": "server/api/whatsappMessage/index.js",
34542 "groupTitle": "Whatsapp_Accounts"
34546 "url": "/api/whatsapp/accounts/{id}/canned_answers",
34547 "title": "Creates new canned answer",
34550 "title": "Example usage:",
34551 "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",
34555 "name": "addAnswer",
34556 "group": "Whatsapp_Accounts",
34578 "field": "description",
34591 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34592 "version": "0.0.0",
34593 "filename": "server/api/whatsappAccount/index.js",
34594 "groupTitle": "Whatsapp_Accounts"
34598 "url": "/api/whatsapp/accounts/{id}/applications",
34599 "title": "Creates new applications",
34602 "title": "Example usage:",
34603 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
34607 "name": "addApplications",
34608 "group": "Whatsapp_Accounts",
34616 "field": "priority",
34630 "field": "appdata",
34637 "field": "description",
34644 "field": "interval",
34650 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34651 "version": "0.0.0",
34652 "filename": "server/api/whatsappAccount/index.js",
34653 "groupTitle": "Whatsapp_Accounts"
34657 "url": "/api/whatsapp/accounts/{id}/dispositions",
34658 "title": "Creates new disposition",
34661 "title": "Example usage:",
34662 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
34666 "name": "addDisposition",
34667 "group": "Whatsapp_Accounts",
34694 "field": "description",
34700 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34701 "version": "0.0.0",
34702 "filename": "server/api/whatsappAccount/index.js",
34703 "groupTitle": "Whatsapp_Accounts"
34707 "url": "/api/whatsapp/accounts/{id}/canned_answers",
34708 "title": "Gets account canned answers",
34711 "title": "Example usage:",
34712 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
34716 "name": "getAnswers",
34717 "group": "Whatsapp_Accounts",
34718 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34719 "version": "0.0.0",
34720 "filename": "server/api/whatsappAccount/index.js",
34721 "groupTitle": "Whatsapp_Accounts"
34725 "url": "/api/whatsapp/accounts/{id}/applications",
34726 "title": "Gets account applications",
34729 "title": "Example usage:",
34730 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/applications -v -u {name}:{password} -X GET",
34734 "name": "getApplications",
34735 "group": "Whatsapp_Accounts",
34736 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34737 "version": "0.0.0",
34738 "filename": "server/api/whatsappAccount/index.js",
34739 "groupTitle": "Whatsapp_Accounts"
34743 "url": "/api/whatsapp/accounts/{id}/dispositions",
34744 "title": "Gets account dispositions",
34747 "title": "Example usage:",
34748 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
34752 "name": "getDispositions",
34753 "group": "Whatsapp_Accounts",
34754 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34755 "version": "0.0.0",
34756 "filename": "server/api/whatsappAccount/index.js",
34757 "groupTitle": "Whatsapp_Accounts"
34761 "url": "/api/whatsapp/accounts/{id}/notify",
34762 "title": "Notify new message",
34765 "title": "Example usage:",
34766 "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",
34771 "group": "Whatsapp_Accounts",
34772 "description": "<p>Motion 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>",
34773 "version": "0.0.0",
34774 "filename": "server/api/whatsappAccount/index.js",
34775 "groupTitle": "Whatsapp_Accounts"
34779 "url": "/api/whatsapp/messages/{id}/reject",
34780 "title": "Rejects message",
34783 "title": "Example usage:",
34784 "content": "curl https://{domain}/api/whatsapp/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
34788 "name": "rejectMessage",
34789 "group": "Whatsapp_Accounts",
34790 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34791 "version": "0.0.0",
34792 "filename": "server/api/whatsappMessage/index.js",
34793 "groupTitle": "Whatsapp_Accounts"
34797 "url": "/api/whatsapp/accounts/{id}/send",
34798 "title": "Send new whatsapp message",
34801 "title": "Example usage:",
34802 "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",
34806 "name": "sendWhatsapp",
34807 "group": "Whatsapp_Accounts",
34808 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34809 "version": "0.0.0",
34810 "filename": "server/api/whatsappAccount/index.js",
34811 "groupTitle": "Whatsapp_Accounts"
34815 "url": "/api/whatsapp/messages/{id}/status",
34816 "title": "Receive message status",
34819 "title": "Example usage:",
34820 "content": "curl https://{domain}/api/whatsapp/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
34824 "name": "statusMessage",
34825 "group": "Whatsapp_Accounts",
34826 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34827 "version": "0.0.0",
34828 "filename": "server/api/whatsappMessage/index.js",
34829 "groupTitle": "Whatsapp_Accounts"
34833 "url": "/api/whatsapp/accounts/{id}",
34834 "title": "Update an existing Account",
34837 "title": "Example usage:",
34838 "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",
34842 "name": "updateAccounts",
34843 "group": "Whatsapp_Accounts",
34844 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34845 "version": "0.0.0",
34846 "filename": "server/api/whatsappAccount/index.js",
34847 "groupTitle": "Whatsapp_Accounts"
34851 "url": "/api/whatsapp/applications",
34852 "title": "Creates a new Application",
34855 "title": "Example usage:",
34856 "content": "curl https://{domain}/api/whatsapp/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
34860 "name": "CreateApplications",
34861 "group": "Whatsapp_Applications",
34869 "field": "priority",
34883 "field": "appdata",
34890 "field": "description",
34897 "field": "interval",
34903 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34904 "version": "0.0.0",
34905 "filename": "server/api/whatsappApplication/index.js",
34906 "groupTitle": "Whatsapp_Applications"
34910 "url": "/api/whatsapp/applications/{id}",
34911 "title": "Deletes a Application",
34914 "title": "Example usage:",
34915 "content": "curl https://{domain}/api/whatsapp/applications/{id} -v -u {name}:{password} -X DELETE",
34919 "name": "DeleteApplications",
34920 "group": "Whatsapp_Applications",
34921 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34922 "version": "0.0.0",
34923 "filename": "server/api/whatsappApplication/index.js",
34924 "groupTitle": "Whatsapp_Applications"
34928 "url": "/api/whatsapp/applications",
34929 "title": "Gets a list of Applications",
34932 "title": "Example usage:",
34933 "content": "curl https://{domain}/api/whatsapp/applications -v -u {name}:{password}",
34937 "name": "GetApplications",
34938 "group": "Whatsapp_Applications",
34939 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
34940 "version": "0.0.0",
34941 "filename": "server/api/whatsappApplication/index.js",
34942 "groupTitle": "Whatsapp_Applications"
34946 "url": "/api/whatsapp/applications/{id}",
34947 "title": "Gets a single Application",
34950 "title": "Example usage:",
34951 "content": "curl https://{domain}/api/whatsapp/applications/{id} -v -u {name}:{password}",
34955 "name": "ShowApplications",
34956 "group": "Whatsapp_Applications",
34957 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34958 "version": "0.0.0",
34959 "filename": "server/api/whatsappApplication/index.js",
34960 "groupTitle": "Whatsapp_Applications"
34964 "url": "/api/whatsapp/applications/{id}",
34965 "title": "Update an existing Application",
34968 "title": "Example usage:",
34969 "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",
34973 "name": "updateApplications",
34974 "group": "Whatsapp_Applications",
34975 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34976 "version": "0.0.0",
34977 "filename": "server/api/whatsappApplication/index.js",
34978 "groupTitle": "Whatsapp_Applications"
34982 "url": "/api/whatsapp/interactions/{id}/tags",
34983 "title": "Add tags to the interaction",
34986 "title": "Example usage:",
34987 "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",
34992 "group": "Whatsapp_Interactions",
34993 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34994 "version": "0.0.0",
34995 "filename": "server/api/whatsappInteraction/index.js",
34996 "groupTitle": "Whatsapp_Interactions"
35000 "url": "/api/whatsapp/interactions",
35001 "title": "Creates a new Interaction",
35004 "title": "Example usage:",
35005 "content": "curl https://{domain}/api/whatsapp/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
35009 "name": "CreateInteractions",
35010 "group": "Whatsapp_Interactions",
35025 "field": "closedAt",
35032 "field": "disposition",
35039 "field": "secondDisposition",
35046 "field": "thirdDisposition",
35067 "field": "read1stAt",
35078 "field": "firstMsgDirection",
35085 "field": "lastMsgAt",
35096 "field": "lastMsgDirection",
35102 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35103 "version": "0.0.0",
35104 "filename": "server/api/whatsappInteraction/index.js",
35105 "groupTitle": "Whatsapp_Interactions"
35109 "url": "/api/whatsapp/interactions/{id}",
35110 "title": "Deletes a Interaction",
35113 "title": "Example usage:",
35114 "content": "curl https://{domain}/api/whatsapp/interactions/{id} -v -u {name}:{password} -X DELETE",
35118 "name": "DeleteInteractions",
35119 "group": "Whatsapp_Interactions",
35120 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35121 "version": "0.0.0",
35122 "filename": "server/api/whatsappInteraction/index.js",
35123 "groupTitle": "Whatsapp_Interactions"
35127 "url": "/api/whatsapp/interactions/describe",
35128 "title": "Gets table info about Interactions",
35131 "title": "Example usage:",
35132 "content": "curl https://{domain}/api/whatsapp/interactions/describe -v -u {name}:{password}",
35136 "name": "DescribeInteractions",
35137 "group": "Whatsapp_Interactions",
35138 "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>",
35139 "version": "0.0.0",
35140 "filename": "server/api/whatsappInteraction/index.js",
35141 "groupTitle": "Whatsapp_Interactions"
35145 "url": "/api/whatsapp/interactions",
35146 "title": "Gets a list of Interactions",
35149 "title": "Example usage:",
35150 "content": "curl https://{domain}/api/whatsapp/interactions -v -u {name}:{password}",
35154 "name": "GetInteractions",
35155 "group": "Whatsapp_Interactions",
35156 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
35157 "version": "0.0.0",
35158 "filename": "server/api/whatsappInteraction/index.js",
35159 "groupTitle": "Whatsapp_Interactions"
35163 "url": "/api/whatsapp/interactions/{id}/tags",
35164 "title": "Removes tags from interaction",
35167 "title": "Example usage:",
35168 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35172 "name": "RemoveTags",
35173 "group": "Whatsapp_Interactions",
35174 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35175 "version": "0.0.0",
35176 "filename": "server/api/whatsappInteraction/index.js",
35177 "groupTitle": "Whatsapp_Interactions"
35181 "url": "/api/whatsapp/interactions/{id}",
35182 "title": "Gets a single Interaction",
35185 "title": "Example usage:",
35186 "content": "curl https://{domain}/api/whatsapp/interactions/{id} -v -u {name}:{password}",
35190 "name": "ShowInteractions",
35191 "group": "Whatsapp_Interactions",
35192 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35193 "version": "0.0.0",
35194 "filename": "server/api/whatsappInteraction/index.js",
35195 "groupTitle": "Whatsapp_Interactions"
35199 "url": "/api/whatsapp/interactions/{id}/messages",
35200 "title": "Creates new messages",
35203 "title": "Example usage:",
35204 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
35208 "name": "addMessage",
35209 "group": "Whatsapp_Interactions",
35235 "field": "direction",
35242 "field": "messageId",
35270 "field": "providerName",
35277 "field": "providerResponse",
35283 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35284 "version": "0.0.0",
35285 "filename": "server/api/whatsappInteraction/index.js",
35286 "groupTitle": "Whatsapp_Interactions"
35290 "url": "/api/whatsapp/interactions/{id}/download",
35291 "title": "Gets interaction",
35294 "title": "Example usage:",
35295 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/download -v -u {name}:{password} -X GET",
35299 "name": "download",
35300 "group": "Whatsapp_Interactions",
35301 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35302 "version": "0.0.0",
35303 "filename": "server/api/whatsappInteraction/index.js",
35304 "groupTitle": "Whatsapp_Interactions"
35308 "url": "/api/whatsapp/interactions/{id}/messages",
35309 "title": "Gets interaction messages",
35312 "title": "Example usage:",
35313 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/messages -v -u {name}:{password} -X GET",
35317 "name": "getMessages",
35318 "group": "Whatsapp_Interactions",
35319 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35320 "version": "0.0.0",
35321 "filename": "server/api/whatsappInteraction/index.js",
35322 "groupTitle": "Whatsapp_Interactions"
35326 "url": "/api/whatsapp/interactions/{id}",
35327 "title": "Update an existing Interaction",
35330 "title": "Example usage:",
35331 "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",
35335 "name": "updateInteractions",
35336 "group": "Whatsapp_Interactions",
35337 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35338 "version": "0.0.0",
35339 "filename": "server/api/whatsappInteraction/index.js",
35340 "groupTitle": "Whatsapp_Interactions"
35344 "url": "/api/whatsapp/messages",
35345 "title": "Creates a new Message",
35348 "title": "Example usage:",
35349 "content": "curl https://{domain}/api/whatsapp/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
35353 "name": "CreateMessages",
35354 "group": "Whatsapp_Messages",
35380 "field": "direction",
35387 "field": "messageId",
35415 "field": "providerName",
35422 "field": "providerResponse",
35428 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35429 "version": "0.0.0",
35430 "filename": "server/api/whatsappMessage/index.js",
35431 "groupTitle": "Whatsapp_Messages"
35435 "url": "/api/whatsapp/messages/{id}",
35436 "title": "Deletes a Message",
35439 "title": "Example usage:",
35440 "content": "curl https://{domain}/api/whatsapp/messages/{id} -v -u {name}:{password} -X DELETE",
35444 "name": "DeleteMessages",
35445 "group": "Whatsapp_Messages",
35446 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35447 "version": "0.0.0",
35448 "filename": "server/api/whatsappMessage/index.js",
35449 "groupTitle": "Whatsapp_Messages"
35453 "url": "/api/whatsapp/messages/describe",
35454 "title": "Gets table info about Messages",
35457 "title": "Example usage:",
35458 "content": "curl https://{domain}/api/whatsapp/messages/describe -v -u {name}:{password}",
35462 "name": "DescribeMessages",
35463 "group": "Whatsapp_Messages",
35464 "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>",
35465 "version": "0.0.0",
35466 "filename": "server/api/whatsappMessage/index.js",
35467 "groupTitle": "Whatsapp_Messages"
35471 "url": "/api/whatsapp/messages",
35472 "title": "Gets a list of Messages",
35475 "title": "Example usage:",
35476 "content": "curl https://{domain}/api/whatsapp/messages -v -u {name}:{password}",
35480 "name": "GetMessages",
35481 "group": "Whatsapp_Messages",
35482 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
35483 "version": "0.0.0",
35484 "filename": "server/api/whatsappMessage/index.js",
35485 "groupTitle": "Whatsapp_Messages"
35489 "url": "/api/whatsapp/messages/{id}",
35490 "title": "Gets a single Message",
35493 "title": "Example usage:",
35494 "content": "curl https://{domain}/api/whatsapp/messages/{id} -v -u {name}:{password}",
35498 "name": "ShowMessages",
35499 "group": "Whatsapp_Messages",
35500 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35501 "version": "0.0.0",
35502 "filename": "server/api/whatsappMessage/index.js",
35503 "groupTitle": "Whatsapp_Messages"
35507 "url": "/api/whatsapp/messages/{id}",
35508 "title": "Update an existing Message",
35511 "title": "Example usage:",
35512 "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",
35516 "name": "updateMessages",
35517 "group": "Whatsapp_Messages",
35518 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35519 "version": "0.0.0",
35520 "filename": "server/api/whatsappMessage/index.js",
35521 "groupTitle": "Whatsapp_Messages"
35525 "url": "/api/whatsapp/reports/queue",
35526 "title": "Creates a new Whatsapp Queue Report",
35529 "title": "Example usage:",
35530 "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",
35534 "name": "CreateWhatsapp_Queue_Reports",
35535 "group": "Whatsapp_Queue_Reports",
35543 "field": "uniqueid",
35564 "field": "leaveAt",
35571 "field": "acceptAt",
35591 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35592 "version": "0.0.0",
35593 "filename": "server/api/whatsappQueueReport/index.js",
35594 "groupTitle": "Whatsapp_Queue_Reports"
35598 "url": "/api/whatsapp/reports/queue/{id}",
35599 "title": "Deletes a Whatsapp Queue Report",
35602 "title": "Example usage:",
35603 "content": "curl https://{domain}/api/whatsapp/reports/queue/{id} -v -u {name}:{password} -X DELETE",
35607 "name": "DeleteWhatsapp_Queue_Reports",
35608 "group": "Whatsapp_Queue_Reports",
35609 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35610 "version": "0.0.0",
35611 "filename": "server/api/whatsappQueueReport/index.js",
35612 "groupTitle": "Whatsapp_Queue_Reports"
35616 "url": "/api/whatsapp/reports/queue/describe",
35617 "title": "Gets table info about Whatsapp Queue Reports",
35620 "title": "Example usage:",
35621 "content": "curl https://{domain}/api/whatsapp/reports/queue/describe -v -u {name}:{password}",
35625 "name": "DescribeWhatsapp_Queue_Reports",
35626 "group": "Whatsapp_Queue_Reports",
35627 "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>",
35628 "version": "0.0.0",
35629 "filename": "server/api/whatsappQueueReport/index.js",
35630 "groupTitle": "Whatsapp_Queue_Reports"
35634 "url": "/api/whatsapp/reports/queue",
35635 "title": "Gets a list of Whatsapp Queue Reports",
35638 "title": "Example usage:",
35639 "content": "curl https://{domain}/api/whatsapp/reports/queue -v -u {name}:{password}",
35643 "name": "GetWhatsapp_Queue_Reports",
35644 "group": "Whatsapp_Queue_Reports",
35645 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
35646 "version": "0.0.0",
35647 "filename": "server/api/whatsappQueueReport/index.js",
35648 "groupTitle": "Whatsapp_Queue_Reports"
35652 "url": "/api/whatsapp/reports/queue/{id}",
35653 "title": "Gets a single Whatsapp Queue Report",
35656 "title": "Example usage:",
35657 "content": "curl https://{domain}/api/whatsapp/reports/queue/{id} -v -u {name}:{password}",
35661 "name": "ShowWhatsapp_Queue_Reports",
35662 "group": "Whatsapp_Queue_Reports",
35663 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35664 "version": "0.0.0",
35665 "filename": "server/api/whatsappQueueReport/index.js",
35666 "groupTitle": "Whatsapp_Queue_Reports"
35670 "url": "/api/whatsapp/reports/queue/{id}",
35671 "title": "Update an existing Whatsapp Queue Report",
35674 "title": "Example usage:",
35675 "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",
35679 "name": "updateWhatsapp_Queue_Reports",
35680 "group": "Whatsapp_Queue_Reports",
35681 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35682 "version": "0.0.0",
35683 "filename": "server/api/whatsappQueueReport/index.js",
35684 "groupTitle": "Whatsapp_Queue_Reports"
35688 "url": "/api/whatsapp/queues/{id}/users",
35689 "title": "Add agents to a queue",
35692 "title": "Example usage:",
35693 "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",
35697 "name": "AddAgents",
35698 "group": "Whatsapp_Queues",
35699 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35700 "version": "0.0.0",
35701 "filename": "server/api/whatsappQueue/index.js",
35702 "groupTitle": "Whatsapp_Queues"
35706 "url": "/api/whatsapp/queues/{id}/teams",
35707 "title": "Add teams to a queue",
35710 "title": "Example usage:",
35711 "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",
35715 "name": "AddTeams",
35716 "group": "Whatsapp_Queues",
35717 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35718 "version": "0.0.0",
35719 "filename": "server/api/whatsappQueue/index.js",
35720 "groupTitle": "Whatsapp_Queues"
35724 "url": "/api/whatsapp/queues",
35725 "title": "Creates a new Queue",
35728 "title": "Example usage:",
35729 "content": "curl https://{domain}/api/whatsapp/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
35733 "name": "CreateQueues",
35734 "group": "Whatsapp_Queues",
35749 "field": "timeout",
35761 "field": "strategy",
35768 "field": "description",
35774 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35775 "version": "0.0.0",
35776 "filename": "server/api/whatsappQueue/index.js",
35777 "groupTitle": "Whatsapp_Queues"
35781 "url": "/api/whatsapp/queues/{id}",
35782 "title": "Deletes a Queue",
35785 "title": "Example usage:",
35786 "content": "curl https://{domain}/api/whatsapp/queues/{id} -v -u {name}:{password} -X DELETE",
35790 "name": "DeleteQueues",
35791 "group": "Whatsapp_Queues",
35792 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35793 "version": "0.0.0",
35794 "filename": "server/api/whatsappQueue/index.js",
35795 "groupTitle": "Whatsapp_Queues"
35799 "url": "/api/whatsapp/queues/describe",
35800 "title": "Gets table info about Queues",
35803 "title": "Example usage:",
35804 "content": "curl https://{domain}/api/whatsapp/queues/describe -v -u {name}:{password}",
35808 "name": "DescribeQueues",
35809 "group": "Whatsapp_Queues",
35810 "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>",
35811 "version": "0.0.0",
35812 "filename": "server/api/whatsappQueue/index.js",
35813 "groupTitle": "Whatsapp_Queues"
35817 "url": "/api/whatsapp/queues/{id}/users",
35818 "title": "Gets queue agents",
35821 "title": "Example usage:",
35822 "content": "curl https://{domain}/api/whatsapp/queues/{id}/users -v -u {name}:{password} -X POST",
35826 "name": "GetAgents",
35827 "group": "Whatsapp_Queues",
35828 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35829 "version": "0.0.0",
35830 "filename": "server/api/whatsappQueue/index.js",
35831 "groupTitle": "Whatsapp_Queues"
35835 "url": "/api/whatsapp/queues/{id}/members",
35836 "title": "GetMembers",
35839 "title": "Example usage:",
35840 "content": "curl https://{domain}/api/whatsapp/queues/{id}/members -v -u {name}:{password}",
35844 "name": "GetMembers",
35845 "group": "Whatsapp_Queues",
35846 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35847 "version": "0.0.0",
35848 "filename": "server/api/whatsappQueue/index.js",
35849 "groupTitle": "Whatsapp_Queues"
35853 "url": "/api/whatsapp/queues",
35854 "title": "Gets a list of Queues",
35857 "title": "Example usage:",
35858 "content": "curl https://{domain}/api/whatsapp/queues -v -u {name}:{password}",
35862 "name": "GetQueues",
35863 "group": "Whatsapp_Queues",
35864 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
35865 "version": "0.0.0",
35866 "filename": "server/api/whatsappQueue/index.js",
35867 "groupTitle": "Whatsapp_Queues"
35871 "url": "/api/whatsapp/queues/{id}/teams",
35872 "title": "Gets queues list",
35875 "title": "Example usage:",
35876 "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password}",
35880 "name": "GetTeams",
35881 "group": "Whatsapp_Queues",
35882 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35883 "version": "0.0.0",
35884 "filename": "server/api/whatsappQueue/index.js",
35885 "groupTitle": "Whatsapp_Queues"
35889 "url": "/api/whatsapp/queues/{id}/users",
35890 "title": "Removes agents from a queue",
35893 "title": "Example usage:",
35894 "content": "curl https://{domain}/api/whatsapp/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35898 "name": "RemoveAgents",
35899 "group": "Whatsapp_Queues",
35900 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35901 "version": "0.0.0",
35902 "filename": "server/api/whatsappQueue/index.js",
35903 "groupTitle": "Whatsapp_Queues"
35907 "url": "/api/whatsapp/queues/{id}",
35908 "title": "Gets a single Queue",
35911 "title": "Example usage:",
35912 "content": "curl https://{domain}/api/whatsapp/queues/{id} -v -u {name}:{password}",
35916 "name": "ShowQueues",
35917 "group": "Whatsapp_Queues",
35918 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35919 "version": "0.0.0",
35920 "filename": "server/api/whatsappQueue/index.js",
35921 "groupTitle": "Whatsapp_Queues"
35925 "url": "/api/whatsapp/queues/{id}",
35926 "title": "Update an existing Queue",
35929 "title": "Example usage:",
35930 "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",
35934 "name": "updateQueues",
35935 "group": "Whatsapp_Queues",
35936 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35937 "version": "0.0.0",
35938 "filename": "server/api/whatsappQueue/index.js",
35939 "groupTitle": "Whatsapp_Queues"
35943 "url": "/api/whatsapp/reports/transfer",
35944 "title": "Creates a new Whatsapp Transfer Report",
35947 "title": "Example usage:",
35948 "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",
35952 "name": "CreateWhatsapp_Transfer_Reports",
35953 "group": "Whatsapp_Transfer_Reports",
35961 "field": "uniqueid",
35980 "field": "transferredAt",
35986 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35987 "version": "0.0.0",
35988 "filename": "server/api/whatsappTransferReport/index.js",
35989 "groupTitle": "Whatsapp_Transfer_Reports"
35993 "url": "/api/whatsapp/reports/transfer/{id}",
35994 "title": "Deletes a Whatsapp Transfer Report",
35997 "title": "Example usage:",
35998 "content": "curl https://{domain}/api/whatsapp/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
36002 "name": "DeleteWhatsapp_Transfer_Reports",
36003 "group": "Whatsapp_Transfer_Reports",
36004 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36005 "version": "0.0.0",
36006 "filename": "server/api/whatsappTransferReport/index.js",
36007 "groupTitle": "Whatsapp_Transfer_Reports"
36011 "url": "/api/whatsapp/reports/transfer/describe",
36012 "title": "Gets table info about Whatsapp Transfer Reports",
36015 "title": "Example usage:",
36016 "content": "curl https://{domain}/api/whatsapp/reports/transfer/describe -v -u {name}:{password}",
36020 "name": "DescribeWhatsapp_Transfer_Reports",
36021 "group": "Whatsapp_Transfer_Reports",
36022 "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>",
36023 "version": "0.0.0",
36024 "filename": "server/api/whatsappTransferReport/index.js",
36025 "groupTitle": "Whatsapp_Transfer_Reports"
36029 "url": "/api/whatsapp/reports/transfer",
36030 "title": "Gets a list of Whatsapp Transfer Reports",
36033 "title": "Example usage:",
36034 "content": "curl https://{domain}/api/whatsapp/reports/transfer -v -u {name}:{password}",
36038 "name": "GetWhatsapp_Transfer_Reports",
36039 "group": "Whatsapp_Transfer_Reports",
36040 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36041 "version": "0.0.0",
36042 "filename": "server/api/whatsappTransferReport/index.js",
36043 "groupTitle": "Whatsapp_Transfer_Reports"
36047 "url": "/api/whatsapp/reports/transfer/{id}",
36048 "title": "Gets a single Whatsapp Transfer Report",
36051 "title": "Example usage:",
36052 "content": "curl https://{domain}/api/whatsapp/reports/transfer/{id} -v -u {name}:{password}",
36056 "name": "ShowWhatsapp_Transfer_Reports",
36057 "group": "Whatsapp_Transfer_Reports",
36058 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36059 "version": "0.0.0",
36060 "filename": "server/api/whatsappTransferReport/index.js",
36061 "groupTitle": "Whatsapp_Transfer_Reports"
36065 "url": "/api/whatsapp/reports/transfer/{id}",
36066 "title": "Update an existing Whatsapp Transfer Report",
36069 "title": "Example usage:",
36070 "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",
36074 "name": "updateWhatsapp_Transfer_Reports",
36075 "group": "Whatsapp_Transfer_Reports",
36076 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36077 "version": "0.0.0",
36078 "filename": "server/api/whatsappTransferReport/index.js",
36079 "groupTitle": "Whatsapp_Transfer_Reports"
36083 "url": "/api/integrations/zendesk/accounts",
36084 "title": "Creates a new Zendesk Account",
36087 "title": "Example usage:",
36088 "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",
36092 "name": "CreateZendesk_Accounts",
36093 "group": "Zendesk_Accounts",
36108 "field": "description",
36115 "field": "username",
36122 "field": "password",
36136 "field": "remoteUri",
36147 "field": "authType",
36154 "field": "serverUrl",
36161 "\"integrationTab\"",
36171 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36172 "version": "0.0.0",
36173 "filename": "server/api/intZendeskAccount/index.js",
36174 "groupTitle": "Zendesk_Accounts"
36178 "url": "/api/integrations/zendesk/accounts/{id}",
36179 "title": "Deletes a Zendesk Account",
36182 "title": "Example usage:",
36183 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id} -v -u {name}:{password} -X DELETE",
36187 "name": "DeleteZendesk_Accounts",
36188 "group": "Zendesk_Accounts",
36189 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36190 "version": "0.0.0",
36191 "filename": "server/api/intZendeskAccount/index.js",
36192 "groupTitle": "Zendesk_Accounts"
36196 "url": "/api/integrations/zendesk/accounts",
36197 "title": "Gets a list of Zendesk Accounts",
36200 "title": "Example usage:",
36201 "content": "curl https://{domain}/api/integrations/zendesk/accounts -v -u {name}:{password}",
36205 "name": "GetZendesk_Accounts",
36206 "group": "Zendesk_Accounts",
36207 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36208 "version": "0.0.0",
36209 "filename": "server/api/intZendeskAccount/index.js",
36210 "groupTitle": "Zendesk_Accounts"
36214 "url": "/api/integrations/zendesk/accounts/{id}",
36215 "title": "Gets a single Zendesk Account",
36218 "title": "Example usage:",
36219 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id} -v -u {name}:{password}",
36223 "name": "ShowZendesk_Accounts",
36224 "group": "Zendesk_Accounts",
36225 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36226 "version": "0.0.0",
36227 "filename": "server/api/intZendeskAccount/index.js",
36228 "groupTitle": "Zendesk_Accounts"
36232 "url": "/api/integrations/zendesk/accounts/{id}/configurations",
36233 "title": "Creates new configuration",
36236 "title": "Example usage:",
36237 "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",
36241 "name": "addConfiguration",
36242 "group": "Zendesk_Accounts",
36243 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36244 "version": "0.0.0",
36245 "filename": "server/api/intZendeskAccount/index.js",
36246 "groupTitle": "Zendesk_Accounts"
36250 "url": "/api/integrations/zendesk/accounts/{id}/configurations",
36251 "title": "Gets account configurations",
36254 "title": "Example usage:",
36255 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
36259 "name": "getConfigurations",
36260 "group": "Zendesk_Accounts",
36261 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36262 "version": "0.0.0",
36263 "filename": "server/api/intZendeskAccount/index.js",
36264 "groupTitle": "Zendesk_Accounts"
36268 "url": "/api/integrations/zendesk/accounts/{id}/fields",
36269 "title": "Gets account fields",
36272 "title": "Example usage:",
36273 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id}/fields -v -u {name}:{password} -X GET",
36277 "name": "getFields",
36278 "group": "Zendesk_Accounts",
36279 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36280 "version": "0.0.0",
36281 "filename": "server/api/intZendeskAccount/index.js",
36282 "groupTitle": "Zendesk_Accounts"
36286 "url": "/api/integrations/zendesk/accounts/{id}",
36287 "title": "Update an existing Zendesk Account",
36290 "title": "Example usage:",
36291 "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",
36295 "name": "updateZendesk_Accounts",
36296 "group": "Zendesk_Accounts",
36297 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36298 "version": "0.0.0",
36299 "filename": "server/api/intZendeskAccount/index.js",
36300 "groupTitle": "Zendesk_Accounts"
36304 "url": "/api/integrations/zendesk/configurations",
36305 "title": "Creates a new Zendesk Configuration",
36308 "title": "Example usage:",
36309 "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",
36313 "name": "CreateZendesk_Configurations",
36314 "group": "Zendesk_Configurations",
36329 "field": "description",
36335 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36336 "version": "0.0.0",
36337 "filename": "server/api/intZendeskConfiguration/index.js",
36338 "groupTitle": "Zendesk_Configurations"
36342 "url": "/api/integrations/zendesk/configurations/{id}",
36343 "title": "Deletes a Zendesk Configuration",
36346 "title": "Example usage:",
36347 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id} -v -u {name}:{password} -X DELETE",
36351 "name": "DeleteZendesk_Configurations",
36352 "group": "Zendesk_Configurations",
36353 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36354 "version": "0.0.0",
36355 "filename": "server/api/intZendeskConfiguration/index.js",
36356 "groupTitle": "Zendesk_Configurations"
36360 "url": "/api/integrations/zendesk/configurations",
36361 "title": "Gets a list of Zendesk Configurations",
36364 "title": "Example usage:",
36365 "content": "curl https://{domain}/api/integrations/zendesk/configurations -v -u {name}:{password}",
36369 "name": "GetZendesk_Configurations",
36370 "group": "Zendesk_Configurations",
36371 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36372 "version": "0.0.0",
36373 "filename": "server/api/intZendeskConfiguration/index.js",
36374 "groupTitle": "Zendesk_Configurations"
36378 "url": "/api/integrations/zendesk/configurations/{id}",
36379 "title": "Gets a single Zendesk Configuration",
36382 "title": "Example usage:",
36383 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id} -v -u {name}:{password}",
36387 "name": "ShowZendesk_Configurations",
36388 "group": "Zendesk_Configurations",
36389 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36390 "version": "0.0.0",
36391 "filename": "server/api/intZendeskConfiguration/index.js",
36392 "groupTitle": "Zendesk_Configurations"
36396 "url": "/api/integrations/zendesk/configurations/{id}/descriptions",
36397 "title": "Gets configurations descriptions",
36400 "title": "Example usage:",
36401 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
36405 "name": "getDescriptions",
36406 "group": "Zendesk_Configurations",
36407 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36408 "version": "0.0.0",
36409 "filename": "server/api/intZendeskConfiguration/index.js",
36410 "groupTitle": "Zendesk_Configurations"
36414 "url": "/api/integrations/zendesk/configurations/{id}/fields",
36415 "title": "Gets configurations fields",
36418 "title": "Example usage:",
36419 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/fields -v -u {name}:{password} -X GET",
36423 "name": "getFields",
36424 "group": "Zendesk_Configurations",
36425 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36426 "version": "0.0.0",
36427 "filename": "server/api/intZendeskConfiguration/index.js",
36428 "groupTitle": "Zendesk_Configurations"
36432 "url": "/api/integrations/zendesk/configurations/{id}/subjects",
36433 "title": "Gets configurations subjects",
36436 "title": "Example usage:",
36437 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
36441 "name": "getSubjects",
36442 "group": "Zendesk_Configurations",
36443 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36444 "version": "0.0.0",
36445 "filename": "server/api/intZendeskConfiguration/index.js",
36446 "groupTitle": "Zendesk_Configurations"
36450 "url": "/api/integrations/zendesk/configurations/{id}/tags",
36451 "title": "Gets configurations tags",
36454 "title": "Example usage:",
36455 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/tags -v -u {name}:{password} -X GET",
36460 "group": "Zendesk_Configurations",
36461 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36462 "version": "0.0.0",
36463 "filename": "server/api/intZendeskConfiguration/index.js",
36464 "groupTitle": "Zendesk_Configurations"
36468 "url": "/api/integrations/zendesk/configurations/{id}/tags",
36469 "title": "Sets new tags",
36472 "title": "Example usage:",
36473 "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",
36478 "group": "Zendesk_Configurations",
36479 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36480 "version": "0.0.0",
36481 "filename": "server/api/intZendeskConfiguration/index.js",
36482 "groupTitle": "Zendesk_Configurations"
36486 "url": "/api/integrations/zendesk/configurations/{id}",
36487 "title": "Update an existing Zendesk Configuration",
36490 "title": "Example usage:",
36491 "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",
36495 "name": "updateZendesk_Configurations",
36496 "group": "Zendesk_Configurations",
36497 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36498 "version": "0.0.0",
36499 "filename": "server/api/intZendeskConfiguration/index.js",
36500 "groupTitle": "Zendesk_Configurations"
36504 "url": "/api/integrations/zendesk/fields",
36505 "title": "Creates a new Zendesk Field",
36508 "title": "Example usage:",
36509 "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",
36513 "name": "CreateZendesk_Fields",
36514 "group": "Zendesk_Fields",
36524 "\"customVariable\"",
36535 "field": "content",
36551 "\"customVariable\""
36554 "field": "keyType",
36561 "field": "keyContent",
36568 "field": "idField",
36575 "field": "nameField",
36582 "field": "customField",
36589 "field": "variableName",
36595 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36596 "version": "0.0.0",
36597 "filename": "server/api/intZendeskField/index.js",
36598 "groupTitle": "Zendesk_Fields"
36602 "url": "/api/integrations/zendesk/fields/{id}",
36603 "title": "Deletes a Zendesk Field",
36606 "title": "Example usage:",
36607 "content": "curl https://{domain}/api/integrations/zendesk/fields/{id} -v -u {name}:{password} -X DELETE",
36611 "name": "DeleteZendesk_Fields",
36612 "group": "Zendesk_Fields",
36613 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36614 "version": "0.0.0",
36615 "filename": "server/api/intZendeskField/index.js",
36616 "groupTitle": "Zendesk_Fields"
36620 "url": "/api/integrations/zendesk/fields",
36621 "title": "Gets a list of Zendesk Fields",
36624 "title": "Example usage:",
36625 "content": "curl https://{domain}/api/integrations/zendesk/fields -v -u {name}:{password}",
36629 "name": "GetZendesk_Fields",
36630 "group": "Zendesk_Fields",
36631 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36632 "version": "0.0.0",
36633 "filename": "server/api/intZendeskField/index.js",
36634 "groupTitle": "Zendesk_Fields"
36638 "url": "/api/integrations/zendesk/fields/{id}",
36639 "title": "Gets a single Zendesk Field",
36642 "title": "Example usage:",
36643 "content": "curl https://{domain}/api/integrations/zendesk/fields/{id} -v -u {name}:{password}",
36647 "name": "ShowZendesk_Fields",
36648 "group": "Zendesk_Fields",
36649 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36650 "version": "0.0.0",
36651 "filename": "server/api/intZendeskField/index.js",
36652 "groupTitle": "Zendesk_Fields"
36656 "url": "/api/integrations/zendesk/fields/{id}",
36657 "title": "Update an existing Zendesk Field",
36660 "title": "Example usage:",
36661 "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",
36665 "name": "updateZendesk_Fields",
36666 "group": "Zendesk_Fields",
36667 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36668 "version": "0.0.0",
36669 "filename": "server/api/intZendeskField/index.js",
36670 "groupTitle": "Zendesk_Fields"
36674 "url": "/api/integrations/zoho/accounts",
36675 "title": "Creates a new Zoho Account",
36678 "title": "Example usage:",
36679 "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",
36683 "name": "CreateZoho_Accounts",
36684 "group": "Zoho_Accounts",
36699 "field": "description",
36720 "field": "clientId",
36727 "field": "clientSecret",
36734 "field": "serverUrl",
36748 "field": "refreshToken",
36754 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36755 "version": "0.0.0",
36756 "filename": "server/api/intZohoAccount/index.js",
36757 "groupTitle": "Zoho_Accounts"
36761 "url": "/api/integrations/zoho/accounts/{id}",
36762 "title": "Deletes a Zoho Account",
36765 "title": "Example usage:",
36766 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id} -v -u {name}:{password} -X DELETE",
36770 "name": "DeleteZoho_Accounts",
36771 "group": "Zoho_Accounts",
36772 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36773 "version": "0.0.0",
36774 "filename": "server/api/intZohoAccount/index.js",
36775 "groupTitle": "Zoho_Accounts"
36779 "url": "/api/integrations/zoho/accounts",
36780 "title": "Gets a list of Zoho Accounts",
36783 "title": "Example usage:",
36784 "content": "curl https://{domain}/api/integrations/zoho/accounts -v -u {name}:{password}",
36788 "name": "GetZoho_Accounts",
36789 "group": "Zoho_Accounts",
36790 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36791 "version": "0.0.0",
36792 "filename": "server/api/intZohoAccount/index.js",
36793 "groupTitle": "Zoho_Accounts"
36797 "url": "/api/integrations/zoho/accounts/{id}",
36798 "title": "Gets a single Zoho Account",
36801 "title": "Example usage:",
36802 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id} -v -u {name}:{password}",
36806 "name": "ShowZoho_Accounts",
36807 "group": "Zoho_Accounts",
36808 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36809 "version": "0.0.0",
36810 "filename": "server/api/intZohoAccount/index.js",
36811 "groupTitle": "Zoho_Accounts"
36815 "url": "/api/integrations/zoho/accounts/{id}/configurations",
36816 "title": "Creates new configuration",
36819 "title": "Example usage:",
36820 "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",
36824 "name": "addConfiguration",
36825 "group": "Zoho_Accounts",
36826 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36827 "version": "0.0.0",
36828 "filename": "server/api/intZohoAccount/index.js",
36829 "groupTitle": "Zoho_Accounts"
36833 "url": "/api/integrations/zoho/accounts/{id}/configurations",
36834 "title": "Gets account configurations",
36837 "title": "Example usage:",
36838 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id}/configurations -v -u {name}:{password} -X GET",
36842 "name": "getConfigurations",
36843 "group": "Zoho_Accounts",
36844 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36845 "version": "0.0.0",
36846 "filename": "server/api/intZohoAccount/index.js",
36847 "groupTitle": "Zoho_Accounts"
36851 "url": "/api/integrations/zoho/accounts/{id}/fields",
36852 "title": "Gets account fields",
36855 "title": "Example usage:",
36856 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id}/fields -v -u {name}:{password} -X GET",
36860 "name": "getFields",
36861 "group": "Zoho_Accounts",
36862 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36863 "version": "0.0.0",
36864 "filename": "server/api/intZohoAccount/index.js",
36865 "groupTitle": "Zoho_Accounts"
36869 "url": "/api/integrations/zoho/accounts/{id}",
36870 "title": "Update an existing Zoho Account",
36873 "title": "Example usage:",
36874 "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",
36878 "name": "updateZoho_Accounts",
36879 "group": "Zoho_Accounts",
36880 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36881 "version": "0.0.0",
36882 "filename": "server/api/intZohoAccount/index.js",
36883 "groupTitle": "Zoho_Accounts"
36887 "url": "/api/integrations/zoho/configurations",
36888 "title": "Creates a new Zoho Configuration",
36891 "title": "Example usage:",
36892 "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",
36896 "name": "CreateZoho_Configurations",
36897 "group": "Zoho_Configurations",
36917 "field": "moduleCreate",
36924 "\"contact_lead\"",
36929 "field": "moduleSearch",
36936 "field": "description",
36942 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36943 "version": "0.0.0",
36944 "filename": "server/api/intZohoConfiguration/index.js",
36945 "groupTitle": "Zoho_Configurations"
36949 "url": "/api/integrations/zoho/configurations/{id}",
36950 "title": "Deletes a Zoho Configuration",
36953 "title": "Example usage:",
36954 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id} -v -u {name}:{password} -X DELETE",
36958 "name": "DeleteZoho_Configurations",
36959 "group": "Zoho_Configurations",
36960 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36961 "version": "0.0.0",
36962 "filename": "server/api/intZohoConfiguration/index.js",
36963 "groupTitle": "Zoho_Configurations"
36967 "url": "/api/integrations/zoho/configurations",
36968 "title": "Gets a list of Zoho Configurations",
36971 "title": "Example usage:",
36972 "content": "curl https://{domain}/api/integrations/zoho/configurations -v -u {name}:{password}",
36976 "name": "GetZoho_Configurations",
36977 "group": "Zoho_Configurations",
36978 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
36979 "version": "0.0.0",
36980 "filename": "server/api/intZohoConfiguration/index.js",
36981 "groupTitle": "Zoho_Configurations"
36985 "url": "/api/integrations/zoho/configurations/{id}",
36986 "title": "Gets a single Zoho Configuration",
36989 "title": "Example usage:",
36990 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id} -v -u {name}:{password}",
36994 "name": "ShowZoho_Configurations",
36995 "group": "Zoho_Configurations",
36996 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36997 "version": "0.0.0",
36998 "filename": "server/api/intZohoConfiguration/index.js",
36999 "groupTitle": "Zoho_Configurations"
37003 "url": "/api/integrations/zoho/configurations/{id}/descriptions",
37004 "title": "Gets configurations descriptions",
37007 "title": "Example usage:",
37008 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
37012 "name": "getDescriptions",
37013 "group": "Zoho_Configurations",
37014 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37015 "version": "0.0.0",
37016 "filename": "server/api/intZohoConfiguration/index.js",
37017 "groupTitle": "Zoho_Configurations"
37021 "url": "/api/integrations/zoho/configurations/{id}/fields",
37022 "title": "Gets configurations fields",
37025 "title": "Example usage:",
37026 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/fields -v -u {name}:{password} -X GET",
37030 "name": "getFields",
37031 "group": "Zoho_Configurations",
37032 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37033 "version": "0.0.0",
37034 "filename": "server/api/intZohoConfiguration/index.js",
37035 "groupTitle": "Zoho_Configurations"
37039 "url": "/api/integrations/zoho/configurations/{id}/subjects",
37040 "title": "Gets configurations subjects",
37043 "title": "Example usage:",
37044 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/subjects -v -u {name}:{password} -X GET",
37048 "name": "getSubjects",
37049 "group": "Zoho_Configurations",
37050 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37051 "version": "0.0.0",
37052 "filename": "server/api/intZohoConfiguration/index.js",
37053 "groupTitle": "Zoho_Configurations"
37057 "url": "/api/integrations/zoho/configurations/{id}",
37058 "title": "Update an existing Zoho Configuration",
37061 "title": "Example usage:",
37062 "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",
37066 "name": "updateZoho_Configurations",
37067 "group": "Zoho_Configurations",
37068 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37069 "version": "0.0.0",
37070 "filename": "server/api/intZohoConfiguration/index.js",
37071 "groupTitle": "Zoho_Configurations"
37075 "url": "/api/integrations/zoho/fields",
37076 "title": "Creates a new Zoho Field",
37079 "title": "Example usage:",
37080 "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",
37084 "name": "CreateZoho_Fields",
37085 "group": "Zoho_Fields",
37095 "\"customVariable\"",
37106 "field": "content",
37122 "\"customVariable\""
37125 "field": "keyType",
37132 "field": "keyContent",
37139 "field": "idField",
37146 "field": "nameField",
37153 "field": "customField",
37160 "field": "variableName",
37166 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37167 "version": "0.0.0",
37168 "filename": "server/api/intZohoField/index.js",
37169 "groupTitle": "Zoho_Fields"
37173 "url": "/api/integrations/zoho/fields/{id}",
37174 "title": "Deletes a Zoho Field",
37177 "title": "Example usage:",
37178 "content": "curl https://{domain}/api/integrations/zoho/fields/{id} -v -u {name}:{password} -X DELETE",
37182 "name": "DeleteZoho_Fields",
37183 "group": "Zoho_Fields",
37184 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37185 "version": "0.0.0",
37186 "filename": "server/api/intZohoField/index.js",
37187 "groupTitle": "Zoho_Fields"
37191 "url": "/api/integrations/zoho/fields",
37192 "title": "Gets a list of Zoho Fields",
37195 "title": "Example usage:",
37196 "content": "curl https://{domain}/api/integrations/zoho/fields -v -u {name}:{password}",
37200 "name": "GetZoho_Fields",
37201 "group": "Zoho_Fields",
37202 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
37203 "version": "0.0.0",
37204 "filename": "server/api/intZohoField/index.js",
37205 "groupTitle": "Zoho_Fields"
37209 "url": "/api/integrations/zoho/fields/{id}",
37210 "title": "Gets a single Zoho Field",
37213 "title": "Example usage:",
37214 "content": "curl https://{domain}/api/integrations/zoho/fields/{id} -v -u {name}:{password}",
37218 "name": "ShowZoho_Fields",
37219 "group": "Zoho_Fields",
37220 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37221 "version": "0.0.0",
37222 "filename": "server/api/intZohoField/index.js",
37223 "groupTitle": "Zoho_Fields"
37227 "url": "/api/integrations/zoho/fields/{id}",
37228 "title": "Update an existing Zoho Field",
37231 "title": "Example usage:",
37232 "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",
37236 "name": "updateZoho_Fields",
37237 "group": "Zoho_Fields",
37238 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37239 "version": "0.0.0",
37240 "filename": "server/api/intZohoField/index.js",
37241 "groupTitle": "Zoho_Fields"
37246 "title": "Creates a new Cdr",
37249 "title": "Example usage:",
37250 "content": "curl https://{domain}/api/cdr -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
37254 "name": "CreateCdrs",
37263 "field": "calldate",
37291 "field": "dcontext",
37298 "field": "channel",
37305 "field": "dstchannel",
37312 "field": "lastapp",
37319 "field": "lastdata",
37326 "field": "duration",
37333 "field": "billsec",
37340 "field": "disposition",
37347 "field": "amaflags",
37354 "field": "accountcode",
37361 "field": "userfield",
37368 "field": "uniqueid",
37375 "field": "linkedid",
37382 "field": "sequence",
37389 "field": "peeraccount",
37409 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37410 "version": "0.0.0",
37411 "filename": "server/api/cdr/index.js",
37412 "groupTitle": "cdr"
37416 "url": "/api/cdr/{id}",
37417 "title": "Deletes a Cdr",
37420 "title": "Example usage:",
37421 "content": "curl https://{domain}/api/cdr/{id} -v -u {name}:{password} -X DELETE",
37425 "name": "DeleteCdrs",
37427 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37428 "version": "0.0.0",
37429 "filename": "server/api/cdr/index.js",
37430 "groupTitle": "cdr"
37434 "url": "/api/cdr/describe",
37435 "title": "Gets table info about Cdrs",
37438 "title": "Example usage:",
37439 "content": "curl https://{domain}/api/cdr/describe -v -u {name}:{password}",
37443 "name": "DescribeCdrs",
37445 "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>",
37446 "version": "0.0.0",
37447 "filename": "server/api/cdr/index.js",
37448 "groupTitle": "cdr"
37453 "title": "Gets a list of Cdrs",
37456 "title": "Example usage:",
37457 "content": "curl https://{domain}/api/cdr -v -u {name}:{password}",
37463 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
37464 "version": "0.0.0",
37465 "filename": "server/api/cdr/index.js",
37466 "groupTitle": "cdr"
37470 "url": "/api/cdr/{id}",
37471 "title": "Gets a single Cdr",
37474 "title": "Example usage:",
37475 "content": "curl https://{domain}/api/cdr/{id} -v -u {name}:{password}",
37479 "name": "ShowCdrs",
37481 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37482 "version": "0.0.0",
37483 "filename": "server/api/cdr/index.js",
37484 "groupTitle": "cdr"
37488 "url": "/api/cdr/{id}",
37489 "title": "Update an existing Cdr",
37492 "title": "Example usage:",
37493 "content": "curl https://{domain}/api/cdr/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
37497 "name": "updateCdrs",
37499 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37500 "version": "0.0.0",
37501 "filename": "server/api/cdr/index.js",
37502 "groupTitle": "cdr"
37506 "url": "/api/voiceQueuesLog",
37507 "title": "Creates a new VoiceQueuesLog",
37510 "title": "Example usage:",
37511 "content": "curl https://{domain}/api/voiceQueuesLog -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
37515 "name": "CreateVoiceQueuesLogs",
37516 "group": "voiceQueuesLog",
37538 "field": "queuename",
37607 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37608 "version": "0.0.0",
37609 "filename": "server/api/voiceQueuesLog/index.js",
37610 "groupTitle": "voiceQueuesLog"
37614 "url": "/api/voiceQueuesLog/{id}",
37615 "title": "Deletes a VoiceQueuesLog",
37618 "title": "Example usage:",
37619 "content": "curl https://{domain}/api/voiceQueuesLog/{id} -v -u {name}:{password} -X DELETE",
37623 "name": "DeleteVoiceQueuesLogs",
37624 "group": "voiceQueuesLog",
37625 "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37626 "version": "0.0.0",
37627 "filename": "server/api/voiceQueuesLog/index.js",
37628 "groupTitle": "voiceQueuesLog"
37632 "url": "/api/voiceQueuesLog",
37633 "title": "Gets a list of VoiceQueuesLogs",
37636 "title": "Example usage:",
37637 "content": "curl https://{domain}/api/voiceQueuesLog -v -u {name}:{password}",
37641 "name": "GetVoiceQueuesLogs",
37642 "group": "voiceQueuesLog",
37643 "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>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>",
37644 "version": "0.0.0",
37645 "filename": "server/api/voiceQueuesLog/index.js",
37646 "groupTitle": "voiceQueuesLog"
37650 "url": "/api/voiceQueuesLog/{id}",
37651 "title": "Gets a single VoiceQueuesLog",
37654 "title": "Example usage:",
37655 "content": "curl https://{domain}/api/voiceQueuesLog/{id} -v -u {name}:{password}",
37659 "name": "ShowVoiceQueuesLogs",
37660 "group": "voiceQueuesLog",
37661 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37662 "version": "0.0.0",
37663 "filename": "server/api/voiceQueuesLog/index.js",
37664 "groupTitle": "voiceQueuesLog"
37668 "url": "/api/voiceQueuesLog/{id}",
37669 "title": "Update an existing VoiceQueuesLog",
37672 "title": "Example usage:",
37673 "content": "curl https://{domain}/api/voiceQueuesLog/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
37677 "name": "updateVoiceQueuesLogs",
37678 "group": "voiceQueuesLog",
37679 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37680 "version": "0.0.0",
37681 "filename": "server/api/voiceQueuesLog/index.js",
37682 "groupTitle": "voiceQueuesLog"