{"id":688,"date":"2024-06-05T16:43:24","date_gmt":"2024-06-05T16:43:24","guid":{"rendered":"https:\/\/api-users.4over.com\/?page_id=688"},"modified":"2024-06-06T15:21:55","modified_gmt":"2024-06-06T15:21:55","slug":"upload-artwork","status":"publish","type":"page","link":"https:\/\/api-users.4over.com\/?page_id=688","title":{"rendered":"Attach Files to a Job"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Attach files to a Job<\/h3>\n\n\n\n<p>POST route is used to attach files for a job. <br>Attach files to a job placed with &#8220;skip_files&#8221; flag set to TRUE<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Resource URI<\/h3>\n\n\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">POST \/jobs\/{job_id}\/files<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Input Parameters<\/h3>\n\n\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">@param fr {string} front URL or file_uuid for artwork.\n@param bk {string} back URL or file_uuid for artwork.<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Sample Request URI<\/h3>\n\n\n\n<p>html<\/p>\n\n\n\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">https:\/\/api.4over.com\/jobs\/Z3472021234-001\/files<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Sample Request Body<\/h3>\n\n\n\n<p>JSON<\/p>\n\n\n\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n{\n  \"files\": [\n    {\n       \"fr\": \"https:\/\/www.google.com\/images\/branding\/googlelogo\/2x\/googlelogo_color_272x92dp.png\",            \n       \"bk\": \"https:\/\/www.google.com\/images\/branding\/googlelogo\/2x\/googlelogo_color_272x92dp.png\"       \n    }\n  ]\n}\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Sample Response<\/h3>\n\n\n\n<p>JSON<\/p>\n\n\n\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n [\"File(s) succesfully attached to the order: Z3472021234-001\"]\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Attach files to a Job POST route is used to attach files for a job. Attach files to a job placed with &#8220;skip_files&#8221; flag set to TRUE Resource URI Input Parameters Sample Request URI html Sample Request Body JSON Sample Response JSON<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":127,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-688","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=688"}],"version-history":[{"count":25,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/688\/revisions"}],"predecessor-version":[{"id":752,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/688\/revisions\/752"}],"up":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/127"}],"wp:attachment":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}