{"id":5088,"date":"2014-02-11T15:59:59","date_gmt":"2014-02-11T21:59:59","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=5088"},"modified":"2014-02-13T16:18:26","modified_gmt":"2014-02-13T22:18:26","slug":"viewing-cover-pages","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/faxfinder\/web-services-api\/cover-page-api\/viewing-cover-pages\/","title":{"rendered":"Viewing Cover Pages"},"content":{"rendered":"<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\/data\/cover_pages 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 cover pages.<\/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>404 Not Found<\/p>\n<\/td>\n<td width=275 valign=top style='border:solid #4F81BD 1.0pt; padding:0in .01in 0in .01in'>\n<p>Cover pages not found.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h4>Example<\/h4>\n<pre class=\"brush:xml\">\r\nGET \/ffws\/v1\/data\/cover_pages 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;file&gt; \r\n\t\t&lt;name&gt;default.pdf&lt;\/name&gt;\r\n\t\t&lt;type&gt;application\/pdf&lt;\/type&gt; \r\n\t\t&lt;url&gt;https:\/\/192.168.2.1\/ffws\/v1\/data\/cover_pages\/default.pdf&lt;\/url&gt; \r\n\t&lt;\/file&gt; \r\n\t&lt;file&gt; \r\n\t\t&lt;name&gt;multitech.pdf&lt;\/name&gt;\r\n\t\t&lt;type&gt;application\/pdf&lt;\/type&gt;\r\n\t\t&lt;url&gt;https:\/\/192.168.2.1\/ffws\/v1\/data\/cover_pages\/multitech.pdf&lt;\/url&gt; \r\n\t&lt;\/file&gt; \r\n\t&lt;file&gt; \r\n\t\t&lt;name&gt;sample1.pdf&lt;\/name&gt;\r\n\t\t&lt;type&gt;application\/pdf&lt;\/type&gt;\r\n\t\t&lt;url&gt;https:\/\/192.168.2.1\/ffws\/v1\/data\/cover_pages\/sample1.pdf&lt;\/url&gt; \r\n\t&lt;\/file&gt; \r\n\t&lt;file&gt; \r\n\t\t&lt;name&gt;sample2.pdf&lt;\/name&gt;\r\n\t\t&lt;type&gt;application\/pdf&lt;\/type&gt;\r\n\t\t&lt;url&gt;https:\/\/192.168.2.1\/ffws\/v1\/data\/cover_pages\/sample2.pdf&lt;\/url&gt; \r\n\t&lt;\/file&gt; \r\n&lt;\/response&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>HTTP Request Line GET \/ffws\/v1\/data\/cover_pages HTTP\/1.1 HTTP Response Status Codes 200 OK Shows cover pages. 404 Not Found Cover pages not found. Example GET \/ffws\/v1\/data\/cover_pages HTTP\/1.1 content-type: application\/xml authorization: Basic YWRtaW46YWRtaW4= &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; HTTP\/1.1 200 OK content-type: application\/xml &lt;?xml version=\u201d1.0\u201d encoding=\u201dUTF-8\u201d?&gt; &lt;response&gt; &lt;message&gt;Success&lt;\/message&gt; &lt;file&gt; &lt;name&gt;default.pdf&lt;\/name&gt; &lt;type&gt;application\/pdf&lt;\/type&gt; &lt;url&gt;https:\/\/192.168.2.1\/ffws\/v1\/data\/cover_pages\/default.pdf&lt;\/url&gt; &lt;\/file&gt; &lt;file&gt; &lt;name&gt;multitech.pdf&lt;\/name&gt; &lt;type&gt;application\/pdf&lt;\/type&gt; &lt;url&gt;https:\/\/192.168.2.1\/ffws\/v1\/data\/cover_pages\/multitech.pdf&lt;\/url&gt; &lt;\/file&gt; &lt;file&gt; &lt;name&gt;sample1.pdf&lt;\/name&gt; &lt;type&gt;application\/pdf&lt;\/type&gt; [&hellip;]<\/p>\n","protected":false},"author":537,"featured_media":0,"parent":5410,"menu_order":25,"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-5088","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/5088","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=5088"}],"version-history":[{"count":6,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/5088\/revisions"}],"predecessor-version":[{"id":5461,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/5088\/revisions\/5461"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/5410"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=5088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}