{"id":5157,"date":"2025-02-05T13:25:22","date_gmt":"2025-02-05T19:25:22","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=5157"},"modified":"2025-02-05T13:27:42","modified_gmt":"2025-02-05T19:27:42","slug":"viewing-inbound-routes","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/faxfinder\/web-services-api\/faxfinder-configuration-apis\/viewing-inbound-routes\/","title":{"rendered":"Viewing Inbound Routes"},"content":{"rendered":"<p><em>Requires FaxFinder 3.0.4 or higher.<\/em><\/p>\n<table border=1 cellspacing=0 cellpadding=0 width=550 style='border-collapse:collapse;border:none'>\n<tr>\n<td width=150 valign=top style='border:solid #4F81BD 1.0pt; padding:0in .01in 0in .01in'>\n<p>HTTP Request Line<\/p>\n<\/td>\n<td width=400 colspan=2 valign=top style='border:solid #4F81BD 1.0pt; padding:0in .01in 0in .01in'>\n<p>GET \/ffws\/v1\/routes HTTP\/1.1 <\/p>\n<p>GET \/ffws\/v1\/routes\/global HTTP\/1.1<\/p>\n<p>GET \/ffws\/v1\/routes\/lines HTTP\/1.1 (FF240, FF440, or FF840)<\/p>\n<p>GET \/ffws\/v1\/routes\/lines\/line_number HTTP\/1.1 (FF240, FF440, or FF840)<\/p>\n<p>GET \/ffws\/v1\/routes\/default HTTP\/1.1 (FF240-IP only)<\/p>\n<p>GET \/ffws\/v1\/routes\/recipients HTTP\/1.1<\/p>\n<p>GET \/ffws\/v1\/routes\/recipients\/ID HTTP\/1.1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=150 rowspan=2 valign=top style='border:solid #4F81BD 1.0pt; padding:0in .01in 0in .01in'>\n<p>HTTP Response Status Codes<\/p>\n<\/td>\n<td width=125 valign=top style='border:solid #4F81BD 1.0pt;padding:0in .01in 0in .01in'>\n<p>200 OK<\/p>\n<\/td>\n<td width=275 valign=top style='border:solid #4F81BD 1.0pt; padding:0in .01in 0in .01in'>\n<p>Shows inbound routes.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=125 valign=top style='border:solid #4F81BD 1.0pt; padding:0in .01in 0in .01in'>\n<p>400 Bad Request<\/p>\n<\/td>\n<td width=275 valign=top style='border:solid #4F81BD 1.0pt; padding:0in .01in 0in .01in'>\n<p>The provided XML is not valid.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h4>FF240, FF440, or FF840 Example All Inbound Routes<\/h4>\n<pre class=\"brush:xml\">\r\nGET \/ffws\/v1\/routes HTTP\/1.1 \r\ncontent-type: application\/xml \r\nauthorization: Basic YWRtaW46YWRtaW4= \r\n----------------------------------- \r\nHTTP\/1.1 200 OK \r\ncontent-type: application\/xml\r\n&lt;?xml version=\u201d1.0\u201d encoding=\u201dUTF-8\u201d?&gt; \r\n&lt;response&gt;\r\n\t&lt;message&gt;Success&lt;\/message&gt;\r\n\t&lt;global&gt;\r\n\t\t&lt;destination&gt;\r\n\t\t\t  &lt;type&gt;Email&lt;\/type&gt;\r\n\t\t\t  &lt;value&gt;cla@mts.test&lt;\/value&gt;\r\n\t\t&lt;\/destination&gt;\r\n\t\t&lt;destination&gt;\r\n\t\t\t  &lt;destination_id&gt;2&lt;\/destination_id&gt;\r\n\t\t\t  &lt;type&gt;Print&lt;\/type&gt;\r\n\t\t\t  &lt;value&gt;hp_printer&lt;\/value&gt;\r\n\t\t&lt;\/destination&gt;\r\n\t&lt;\/global&gt;\r\n\t&lt;lines&gt;\r\n\t\t&lt;line&gt;\r\n\t\t\t&lt;line_number&gt;1&lt;\/line_number&gt;\r\n\t\t\t&lt;description&gt;first line&lt;\/description&gt;\r\n\t\t\t&lt;destination&gt;\r\n\t\t\t&lt;type&gt;Email&lt;\/type&gt;\r\n\t\t\t&lt;value&gt;cla@mts.test&lt;\/value&gt;\r\n\t\t\t&lt;\/destination&gt;\r\n\t\t&lt;\/line&gt;\r\n\t\t&lt;line&gt;\r\n\t\t\t&lt;line_number&gt;2&lt;\/line_number&gt;\r\n\t\t\t&lt;description&gt;second line&lt;\/description&gt;\r\n\t\t\t&lt;destination&gt;\r\n\t\t\t&lt;type&gt;Notify&lt;\/type&gt;\t\r\n\t\t\t&lt;value&gt;test@mts.test&lt;\/value&gt;\r\n\t\t\t&lt;\/destination&gt;\r\n\t\t&lt;\/line&gt;\r\n\t&lt;\/lines&gt;\r\n\t&lt;recipients&gt;\r\n\t\t&lt;recipient&gt;\r\n\t\t\t&lt;recipient_id&gt;1&lt;\/recipient_id&gt;\r\n\t\t\t&lt;extension&gt;1234&lt;\/extension&gt;\r\n\t\t\t&lt;description&gt;Yoda&lt;\/description&gt;\r\n\t\t\t&lt;destination&gt;\r\n\t\t\t&lt;type&gt;Email&lt;\/type&gt;\r\n\t\t\t&lt;value&gt;test2@email&lt;\/value&gt;\r\n\t\t\t&lt;\/destination&gt;\r\n\t\t&lt;\/recipient&gt;\r\n\t&lt;\/recipients&gt;\r\n&lt;\/response&gt;\r\n<\/pre>\n<h4>FF240, FF440, or FF840 Example Inbound Routes for Lines <\/h4>\n<pre class=\"brush:xml\">\r\nGET \/ffws\/v1\/routes\/lines HTTP\/1.1 \r\ncontent-type: application\/xml \r\nauthorization: Basic YWRtaW46YWRtaW4= \r\n----------------------------------- \r\nHTTP\/1.1 200 OK \r\ncontent-type: application\/xml\r\n&lt;?xml version=\u201d1.0\u201d encoding=\u201dUTF-8\u201d?&gt; \r\n&lt;response&gt;\r\n\t&lt;message&gt;Success&lt;\/message&gt;\r\n\t\t&lt;lines&gt;\r\n\t\t&lt;line&gt;\r\n\t\t\t&lt;line_number&gt;1&lt;\/line_number&gt;\r\n\t\t\t&lt;description&gt;first line&lt;\/description&gt;\r\n\t\t\t&lt;destination&gt;\r\n\t\t\t&lt;type&gt;Email&lt;\/type&gt;\r\n\t\t\t&lt;value&gt;cla@mts.test&lt;\/value&gt;\r\n\t\t\t&lt;\/destination&gt;\r\n\t\t&lt;\/line&gt;\r\n\t\t&lt;line&gt;\r\n\t\t\t&lt;line_number&gt;2&lt;\/line_number&gt;\r\n\t\t\t&lt;description&gt;second line&lt;\/description&gt;\r\n\t\t\t&lt;destination&gt;\r\n\t\t\t&lt;type&gt;Notify&lt;\/type&gt;\t\r\n\t\t\t&lt;value&gt;test@mts.test&lt;\/value&gt;\r\n\t\t\t&lt;\/destination&gt;\r\n\t\t&lt;\/line&gt;\r\n\t&lt;\/lines&gt;\r\n&lt;\/response&gt;\r\n<\/pre>\n<h4>FF240-IP Example Inbound Default Routes <\/h4>\n<pre class=\"brush:xml\">\r\nGET \/ffws\/v1\/routes\/lines HTTP\/1.1 \r\ncontent-type: application\/xml \r\nauthorization: Basic YWRtaW46YWRtaW4= \r\n----------------------------------- \r\nHTTP\/1.1 200 OK \r\ncontent-type: application\/xml\r\n&lt;?xml version=\u201d1.0\u201d encoding=\u201dUTF-8\u201d?&gt; \r\n&lt;response&gt;\r\n\t&lt;message&gt;Success&lt;\/message&gt;\r\n\t&lt;default&gt;\r\n\t\t&lt;destination&gt;\r\n\t\t\t&lt;type&gt;User &lt;\/type&gt;\r\n\t\t\t&lt;value&gt;admin&lt;\/value&gt;\r\n\t\t&lt;\/destination&gt;\r\n\t&lt;\/default&gt;\r\n&lt;\/response&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Requires FaxFinder 3.0.4 or higher. HTTP Request Line GET \/ffws\/v1\/routes HTTP\/1.1 GET \/ffws\/v1\/routes\/global HTTP\/1.1 GET \/ffws\/v1\/routes\/lines HTTP\/1.1 (FF240, FF440, or FF840) GET \/ffws\/v1\/routes\/lines\/line_number HTTP\/1.1 (FF240, FF440, or FF840) GET \/ffws\/v1\/routes\/default HTTP\/1.1 (FF240-IP only) GET \/ffws\/v1\/routes\/recipients HTTP\/1.1 GET \/ffws\/v1\/routes\/recipients\/ID HTTP\/1.1 HTTP Response Status Codes 200 OK Shows inbound routes. 400 Bad Request The provided XML is [&hellip;]<\/p>\n","protected":false},"author":537,"featured_media":0,"parent":5417,"menu_order":28,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-5157","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/5157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/537"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=5157"}],"version-history":[{"count":10,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/5157\/revisions"}],"predecessor-version":[{"id":33704,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/5157\/revisions\/33704"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/5417"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=5157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}