{"id":125,"date":"2016-01-26T16:36:12","date_gmt":"2016-01-26T16:36:12","guid":{"rendered":"http:\/\/192.168.114.129\/?page_id=125"},"modified":"2023-06-24T11:11:06","modified_gmt":"2023-06-24T11:11:06","slug":"post-requirements","status":"publish","type":"page","link":"https:\/\/api-users.4over.com\/?page_id=125","title":{"rendered":"Create Requirements"},"content":{"rendered":"<p>Requirements route provides details of file types necessary for any product combination combination<br \/>\nThis will help API users to implement file upload rules to the end users to when artwork is being added for each job. The response will specify file types needed for supplied product\/option combination with file reason codes. <\/p>\n<h3>Resource URI<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nPOST \/requirements\/products                                    \r\n<\/pre>\n<h3>Input Parameters<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n@param product_uuid {uuid} UUID of a Product.\r\n@param option_uuids {uuid} Array of Option UUIDs for all options.\r\n<\/pre>\n<h3>Sample Request URI<\/h3>\n<p>html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\nhttps:\/\/api.4over.com\/requirements\/products\r\n<\/pre>\n<h3>Sample Request Body<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n    &quot;products&quot;: [\r\n        {\r\n            &quot;product_uuid&quot;: &quot;61007e78-b7a7-41d3-8e97-10b046cc4629&quot;,\r\n            &quot;option_uuids&quot;: [\r\n                &quot;32d3c223-f82c-492b-b915-ba065a00862f&quot;,\r\n                &quot;6f4fd47a-f70f-4f3d-84f8-a78ef9a62a5a&quot;\r\n            ]\r\n        },\r\n        {\r\n            &quot;product_uuid&quot;: &quot;a035d8fd-b99e-4eb6-95ad-6fc3ac0c1746&quot;,\r\n            &quot;option_uuids&quot;: [\r\n                &quot;13abbda7-1d64-4f25-8bb2-c179b224825d&quot;,\r\n                &quot;cb84e4f5-cf63-4c25-b3c3-d22fc7dcf09d&quot;\r\n            ]\r\n        }\r\n    ]\r\n}\r\n<\/pre>\n<h3>Sample Response<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n    &quot;entities&quot;: [\r\n        {\r\n            &quot;product&quot;: {\r\n                &quot;product_uuid&quot;: &quot;61007e78-b7a7-41d3-8e97-10b046cc4629&quot;,\r\n                &quot;name&quot;: &quot;CNP-STUV-4X4&quot;,\r\n                &quot;description&quot;: &quot;4\\&quot; X 4\\&quot; Stickers with UV&quot;\r\n            },\r\n            &quot;option_uuids&quot;: [\r\n                &quot;32d3c223-f82c-492b-b915-ba065a00862f&quot;,\r\n                &quot;6f4fd47a-f70f-4f3d-84f8-a78ef9a62a5a&quot;\r\n            ],\r\n            &quot;file_requirements&quot;: [\r\n                {\r\n                    &quot;file_reason_code_uuid&quot;: &quot;7b3007a1-c296-447b-96cf-ca9d0fb6621a&quot;,\r\n                    &quot;fr&quot;: &quot;Front&quot;\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            &quot;product&quot;: {\r\n                &quot;product_uuid&quot;: &quot;a035d8fd-b99e-4eb6-95ad-6fc3ac0c1746&quot;,\r\n                &quot;name&quot;: &quot;16PT-PCSPUVFR-5.5X2.125&quot;,\r\n                &quot;description&quot;: &quot;5.5\\&quot; X 2.125\\&quot; 16PT Postcards with Spot UV on front only, No UV Coating on the back&quot;\r\n            },\r\n            &quot;option_uuids&quot;: [\r\n                &quot;13abbda7-1d64-4f25-8bb2-c179b224825d&quot;,\r\n                &quot;cb84e4f5-cf63-4c25-b3c3-d22fc7dcf09d&quot;\r\n            ],\r\n            &quot;file_requirements&quot;: [\r\n                {\r\n                    &quot;file_reason_code_uuid&quot;: &quot;00ff44a1-5558-4d3c-9bfa-b2443efce9de&quot;,\r\n                    &quot;bk&quot;: &quot;Back&quot;\r\n                },\r\n                {\r\n                    &quot;file_reason_code_uuid&quot;: &quot;7b3007a1-c296-447b-96cf-ca9d0fb6621a&quot;,\r\n                    &quot;fr&quot;: &quot;Front&quot;\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Requirements route provides details of file types necessary for any product combination combination This will help API users to implement file upload rules to the end users to when artwork is being added for each job. The response will specify file types needed for supplied product\/option combination with file reason codes. Resource URI Input Parameters [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":123,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-125","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/125","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=125"}],"version-history":[{"count":4,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/125\/revisions"}],"predecessor-version":[{"id":497,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/125\/revisions\/497"}],"up":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/123"}],"wp:attachment":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}